[
https://issues.apache.org/jira/browse/NIFI-10952?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Haoran Jiang updated NIFI-10952:
--------------------------------
Summary: TestScriptedPartitionRecord.testWhenMultiplePartitions is a flaky
test (was: TestScriptedPartitionRecord.testWhenMultiplePartitions is a )
> TestScriptedPartitionRecord.testWhenMultiplePartitions is a flaky test
> ----------------------------------------------------------------------
>
> Key: NIFI-10952
> URL: https://issues.apache.org/jira/browse/NIFI-10952
> 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
> Priority: Trivial
> Fix For: 1.19.0
>
> Attachments:
> org.apache.nifi.processors.script.TestScriptedPartitionRecord.rtf
>
>
>
> {code:java}
> org.apache.nifi.processors.script.TestScriptedPartitionRecord.testWhenMultiplePartitions
> {code}
> Hi Community,
>
>
> This is the flaky test. It can pass maven-test while tesing failed under
> [NonDex|[https://github.com/TestingResearchIllinois/NonDex]].
> This is the log for the result.
>
> {code:java}
> [INFO]
> [INFO] Results:
> [INFO]
> [ERROR] Failures:
> [ERROR]
> TestScriptedPartitionRecord.testWhenMultiplePartitions:96->thenPartitionContains:171
> expected:<[0]> but was:<[1]>
> [INFO]
> [ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0
> [INFO] {code}
> *Steps to reporduce the failure:*
>
> 1:1:intall [Nondex|[https://github.com/TestingResearchIllinois/NonDex]]
> 2: Run he command in nifi:
> {code:java}
> mvn -pl nifi-nar-bundles/nifi-scripting-bundle/nifi-scripting-processors
> edu.illinois:nondex-maven-plugin:1.1.2:nondex
> -Dtest=org.apache.nifi.processors.script.TestScriptedPartitionRecord#testWhenMultiplePartitions
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)