[
https://issues.apache.org/jira/browse/NIFI-15652?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18061859#comment-18061859
]
ASF subversion and git services commented on NIFI-15652:
--------------------------------------------------------
Commit 8231d2fc1487928086635a803e7ea77012439a20 in nifi's branch
refs/heads/main from Pierre Villard
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=8231d2fc148 ]
NIFI-15652 Fixed HashiCorp Vault test failures when VAULT_TOKEN environment
variable is set (#10942)
Signed-off-by: David Handermann <[email protected]>
> HashiCorp Vault configuration tests fail when VAULT_TOKEN environment
> variable is set
> -------------------------------------------------------------------------------------
>
> Key: NIFI-15652
> URL: https://issues.apache.org/jira/browse/NIFI-15652
> Project: Apache NiFi
> Issue Type: Bug
> Components: Extensions, Tools and Build
> Reporter: Pierre Villard
> Assignee: Pierre Villard
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> {code:java}
> [ERROR] Tests run: 7, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.040
> s <<< FAILURE! -- in
> org.apache.nifi.vault.hashicorp.TestHashiCorpVaultConfiguration
> [ERROR]
> org.apache.nifi.vault.hashicorp.TestHashiCorpVaultConfiguration.testMissingAuthToken
> -- Time elapsed: 0.008 s <<< FAILURE!
> org.opentest4j.AssertionFailedError: Expected
> java.lang.IllegalArgumentException to be thrown, but nothing was thrown.
> at
> org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:159)
> at org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:74)
> at org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:35)
> at org.junit.jupiter.api.Assertions.assertThrows(Assertions.java:3223)
> at
> org.apache.nifi.vault.hashicorp.TestHashiCorpVaultConfiguration.testMissingAuthToken(TestHashiCorpVaultConfiguration.java:201)
> [ERROR]
> org.apache.nifi.vault.hashicorp.TestHashiCorpVaultConfiguration.testMissingAuthType
> -- Time elapsed: 0.005 s <<< FAILURE!
> org.opentest4j.AssertionFailedError: Expected
> java.lang.IllegalArgumentException to be thrown, but nothing was thrown.
> at
> org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:159)
> at org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:74)
> at org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:35)
> at org.junit.jupiter.api.Assertions.assertThrows(Assertions.java:3223)
> at
> org.apache.nifi.vault.hashicorp.TestHashiCorpVaultConfiguration.testMissingAuthType(TestHashiCorpVaultConfiguration.java:217)
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)