[
https://issues.apache.org/jira/browse/NIFI-10629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17626818#comment-17626818
]
ASF subversion and git services commented on NIFI-10629:
--------------------------------------------------------
Commit 6f65cd1f320278f171b71c2e0d2fee5786884ff9 in nifi's branch
refs/heads/main from priyanka-28
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=6f65cd1f32 ]
NIFI-10629 Updated TestJsonEntitySerializer with sorted properties
This closes #6515
Signed-off-by: David Handermann <[email protected]>
> JsonEntitySerializer Test Failures on NonDex
> --------------------------------------------
>
> Key: NIFI-10629
> URL: https://issues.apache.org/jira/browse/NIFI-10629
> Project: Apache NiFi
> Issue Type: Bug
> Components: NiFi Registry
> Environment: 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);
> Apache Maven 3.6.3;
> Reporter: Priyanka Awatramani
> Priority: Trivial
> Attachments: image-2022-10-11-17-55-26-536.png
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> The test
> *org.apache.nifi.cluster.coordination.http.replication.okhttp.TestJsonEntitySerializer.testBulletinEntity*
> passed using normal maven-test, but showed Non-deterministic behavior under
> NonDex([https://github.com/TestingResearchIllinois/NonDex)] and thus failed.
> Some of the error messages are:
>
> !image-2022-10-11-17-55-26-536.png!
> and after some probing, I found the output from the test is not deterministic.
>
> Steps to reproduce the failure:
> Install Nondex([https://github.com/TestingResearchIllinois/NonDex)] in the
> environment.
> Then cd to nifi repository, and run the following:
> {code:java}
> mvn install -pl
> nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-cluster
> -am -DskipTests
> mvn -pl
> nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-cluster
> test
> -Dtest=org.apache.nifi.cluster.coordination.http.replication.okhttp.TestJsonEntitySerializer#testBulletinEntity
> mvn -pl
> nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-cluster
> edu.illinois:nondex-maven-plugin:1.1.2:nondex
> -Dtest=org.apache.nifi.cluster.coordination.http.replication.okhttp.TestJsonEntitySerializer#testBulletinEntity{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)