You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "David Handermann (Jira)" <ji...@apache.org> on 2022/12/09 16:56:00 UTC

[jira] [Assigned] (NIFI-10637) TestParseCEF.testCustomValidator is a flaky test

     [ https://issues.apache.org/jira/browse/NIFI-10637?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Handermann reassigned NIFI-10637:
---------------------------------------

    Assignee: Haoran Jiang

> TestParseCEF.testCustomValidator is a flaky test
> ------------------------------------------------
>
>                 Key: NIFI-10637
>                 URL: https://issues.apache.org/jira/browse/NIFI-10637
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: NiFi Registry
>         Environment: Apache Maven 3.6.0;
> openjdk version "1.8.0_342";
> OpenJDK Runtime Environment (build 1.8.0_342-8u342-b07-0ubuntu1~20.04-b07);
> OpenJDK 64-Bit Server VM (build 25.342-b07, mixed mode);
>            Reporter: Haoran Jiang
>            Assignee: Haoran Jiang
>            Priority: Trivial
>             Fix For: 1.19.0
>
>         Attachments: org.apache.nifi.processors.standard.TestParseCEF.testCustomValidator-log.txt
>
>   Original Estimate: 0h
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> {code:java}
> org.apache.nifi.processors.standard.TestParseCEF.testCustomValidator {code}
> This is the flaky test.  it can pass maven-test while testing failed under [NonDex|[https://github.com/TestingResearchIllinois/NonDex]].
> This is the log for the result.
> {code:java}
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.46 s <<< FAILURE! - in org.apache.nifi.processors.standard.TestParseCEF
> org.apache.nifi.processors.standard.TestParseCEF.testCustomValidator  Time elapsed: 0.391 s  <<< FAILURE!
> org.opentest4j.AssertionFailedError: Processor appears to be valid but expected it to be invalid ==> expected: <false> but was: <true> {code}
> *Steps to reproduce the failure:*
> 1.intall [Nondex|https://github.com/TestingResearchIllinois/NonDex]
> 2.Run the command in nifi:
> {code:java}
> mvn install -pl nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors -am -DskipTests 
> mvn -pl nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors edu.illinois:nondex-maven-plugin:1.1.2:nondex -Dtest=org.apache.nifi.processors.standard.TestParseCEF#testCustomValidator
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)