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 2016/10/12 17:21:20 UTC

[jira] [Commented] (NIFI-2682) Encrypt toolkit test fails for European timezone

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

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

Commit 893fed794c20f8f9ce87e7e60f5ad9722a67b3bd in nifi's branch refs/heads/master from [~petmit]
[ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=893fed7 ]

Add Stateful annotation to scripting processors

Signed-off-by: Matt Burgess <ma...@apache.org>

NIFI-2682: Added text to Stateful description for AbstractScriptProcessor


> 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)