Closed Mukta13 closed 1 month ago
Found 2 flaky tests in the file: JsonManagedReferenceTest.java
JsonManagedReferenceTest.java
The tests that were flaky within this file were: testJsonBackReference() and test1().
testJsonBackReference()
test1()
Run these commands:
mvn -pl core edu.illinois:nondex-maven-plugin:2.1.7:nondex -Dtest=com.alibaba.fastjson2.jackson_support.JsonManagedReferenceTest#testJsonBackReference
mvn -pl core edu.illinois:nondex-maven-plugin:2.1.7:nondex -Dtest=com.alibaba.fastjson2.jackson_support.JsonManagedReferenceTest#test1
The results would be:
The tests should run without non-determinism issue and the build should be successful after running the above commands
Fix in https://github.com/alibaba/fastjson2/pull/3107
Problem Description
Found 2 flaky tests in the file:
JsonManagedReferenceTest.java
The tests that were flaky within this file were:
testJsonBackReference()
andtest1()
.Environment Info:
Steps to reproduce
Run these commands:
mvn -pl core edu.illinois:nondex-maven-plugin:2.1.7:nondex -Dtest=com.alibaba.fastjson2.jackson_support.JsonManagedReferenceTest#testJsonBackReference
mvn -pl core edu.illinois:nondex-maven-plugin:2.1.7:nondex -Dtest=com.alibaba.fastjson2.jackson_support.JsonManagedReferenceTest#test1
The results would be:
Expected Results
The tests should run without non-determinism issue and the build should be successful after running the above commands
Relevant log output