Pierre Villard created NIFI-15652:
-------------------------------------

             Summary: 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


{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)

Reply via email to