You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2026/03/10 19:36:11 UTC

[jira] [Commented] (NIFI-15652) HashiCorp Vault configuration tests fail when VAULT_TOKEN environment variable is set

    [ https://issues.apache.org/jira/browse/NIFI-15652?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18064606#comment-18064606 ] 

ASF subversion and git services commented on NIFI-15652:
--------------------------------------------------------

Commit 8231d2fc1487928086635a803e7ea77012439a20 in nifi's branch refs/heads/NIFI-15258 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 <ex...@apache.org>

> 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
>             Fix For: 2.9.0
>
>          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)