Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Duplicate
-
1.0.0
-
None
-
None
Description
I have the following test failure when building from sources:
------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.apache.nifi.properties.ConfigEncryptionToolTest Tests run: 47, Failures: 1, Errors: 0, Skipped: 2, Time elapsed: 2.397 sec <<< FAILURE! - in org.apache.nifi.properties.ConfigEncryptionToolTest testShouldSerializeNiFiProperties(org.apache.nifi.properties.ConfigEncryptionToolTest) Time elapsed: 0.011 sec <<< FAILURE! org.codehaus.groovy.runtime.powerassert.PowerAssertionError: assert lines.first() =~ datePattern | | | | | | | ^#\w{3} \w{3} \d{2} \d{2}:\d{2}:\d{2} \w{3}([\-+]\d{2}:\d{2})? \d{4}$ | | java.util.regex.Matcher[pattern=^#\w{3} \w{3} \d{2} \d{2}:\d{2}:\d{2} \w{3}([\-+]\d{2}:\d{2})? \d{4}$ region=0,30 lastmatch=] | #Sat Aug 27 17:40:00 CEST 2016 [#Sat Aug 27 17:40:00 CEST 2016, key=value, key2=value2] at org.codehaus.groovy.runtime.InvokerHelper.assertFailed(InvokerHelper.java:402) at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.assertFailed(ScriptBytecodeAdapter.java:650) at org.apache.nifi.properties.ConfigEncryptionToolTest.testShouldSerializeNiFiProperties(ConfigEncryptionToolTest.groovy:978) Results : Failed tests: ConfigEncryptionToolTest.testShouldSerializeNiFiProperties:978 assert lines.first() =~ datePattern | | | | | | | ^#\w{3} \w{3} \d{2} \d{2}:\d{2}:\d{2} \w{3}([\-+]\d{2}:\d{2})? \d{4}$ | | java.util.regex.Matcher[pattern=^#\w{3} \w{3} \d{2} \d{2}:\d{2}:\d{2} \w{3}([\-+]\d{2}:\d{2})? \d{4}$ region=0,30 lastmatch=] | #Sat Aug 27 17:40:00 CEST 2016 [#Sat Aug 27 17:40:00 CEST 2016, key=value, key2=value2] Tests run: 47, Failures: 1, Errors: 0, Skipped: 2
Attachments
Issue Links
- is duplicated by
-
NIFI-2688 ConfigEncryptionToolTest causes build to fail when building using 4 letter time locales (e.g. AEST)
- Resolved