Pierre Villard created NIFI-2682:
------------------------------------
Summary: Encrypt toolkit test fails for European timezone
Key: NIFI-2682
URL: https://issues.apache.org/jira/browse/NIFI-2682
Project: Apache NiFi
Issue Type: Bug
Components: Tools and Build
Affects Versions: 1.0.0
Environment: Apache Maven 3.3.9
(bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T17:41:47+01:00)
Java version: 1.8.0_77, vendor: Oracle Corporation
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.11.5", arch: "x86_64", family: "mac"
CEST time zone
Reporter: Pierre Villard
Priority: Minor
I have the following test failure when building from sources:
{noformat}
-------------------------------------------------------
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
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)