[
https://issues.apache.org/jira/browse/NIFI-9841?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Handermann resolved NIFI-9841.
------------------------------------
Fix Version/s: 1.17.0
Resolution: Fixed
> Intermittent Failures in PasswordBasedEncryptorGroovyTest
> ---------------------------------------------------------
>
> Key: NIFI-9841
> URL: https://issues.apache.org/jira/browse/NIFI-9841
> Project: Apache NiFi
> Issue Type: Bug
> Components: Tools and Build
> Reporter: David Handermann
> Assignee: Emilio Setiadarma
> Priority: Minor
> Fix For: 1.17.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> The {{PasswordBasedEncryptorGroovyTest}} has methods can occasionally fail
> when evaluating for a particular exception.
> {noformat}
> Error:
> org.apache.nifi.security.util.crypto.PasswordBasedEncryptorGroovyTest.testDecryptShouldHandleCipherStreamMissingSaltDelimiter
> Time elapsed: 0.482 s <<< FAILURE!
> org.codehaus.groovy.runtime.powerassert.PowerAssertionError:
> assert exception.getCause() instanceof BytePatternNotFoundException
> | | |
> | null false
> org.apache.nifi.stream.io.exception.BytePatternNotFoundException: Did
> not encounter any byte pattern that was expected; data does not appear to be
> in the expected format
> at
> org.apache.nifi.security.util.crypto.PasswordBasedEncryptorGroovyTest.testDecryptShouldHandleCipherStreamMissingSaltDelimiter(PasswordBasedEncryptorGroovyTest.groovy:584)
> {noformat}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)