David Handermann created NIFI-9841:
--------------------------------------

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


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)

Reply via email to