Closed Mukta13 closed 4 days ago
Found 2 non deterministic tests in the following files:
Issue2959.java
DubboTest4.java
The tests that were flaky within these files were:
test()
test6()
Run the following commands for each flaky test:
mvn -pl core edu.illinois:nondex-maven-plugin:2.1.7:nondex -Dtest=com.alibaba.fastjson2.issues_2900.Issue2959 mvn -pl core edu.illinois:nondex-maven-plugin:2.1.7:nondex -Dtest=com.alibaba.fastjson2.dubbo.DubboTest4#test6
[ERROR] Issue2959.test:17 expected: <{"projectNO":null,"orderNO":null,"orderType":null,"pN":null,"qty":null,"description":null,"customerCode":null,"customerName":null,"currency":null,"netPrice":null,"uSD":null,"rate":null,"orderDate":null,"requestDate":null,"planedDate":null,"this$0":null}> but was: <{"orderNO":null,"customerName":null,"pN":null,"netPrice":null,"this$0":null,"uSD":null,"requestDate":null,"currency":null,"qty":null,"planedDate":null,"description":null,"customerCode":null,"rate":null,"orderType":null,"projectNO":null,"orderDate":null}> [ERROR] DubboTest4.test6:224 expected: <null> but was: <java.io.IOException: xxx>
The tests should run without non-determinism issues, and the build should be successful after running the above commands.
Fix in #3150
Problem Description
Found 2 non deterministic tests in the following files:
Issue2959.java
DubboTest4.java
The tests that were flaky within these files were:
test()
inIssue2959.java
test6()
inDubboTest4.java
Environment Info:
Steps to Reproduce
Run the following commands for each flaky test:
Results would be:
Expected results:
The tests should run without non-determinism issues, and the build should be successful after running the above commands.