Haoran Jiang created NIFI-10637:
-----------------------------------
Summary: 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
Attachments:
org.apache.nifi.processors.standard.TestParseCEF.testCustomValidator-log.txt
{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)