This is for issue#3126
This PR addresses three non-deterministic tests found in the following files, which lead to non deterministic test results and inconsistent builds.
Summary of your change
Modified Flaky Tests:
Issue3831.java:
Updated test_for_issue3831() to ensure consistent ordering of properties in the expected output.
Issue2644.java:
Adjusted testJsonBackReference() to fix the ordering of fields in the expected JSON output, ensuring that the test matches the actual output format.
Issue2836.java:
Revised test() to standardize the structure of the expected output, aligning it with the actual output to eliminate discrepancies.
What this PR does / why we need it?
This is for issue#3126 This PR addresses three non-deterministic tests found in the following files, which lead to non deterministic test results and inconsistent builds.
Summary of your change
Modified Flaky Tests:
Issue3831.java:
Updated
test_for_issue3831()
to ensure consistent ordering of properties in the expected output.Issue2644.java:
Adjusted
testJsonBackReference()
to fix the ordering of fields in the expected JSON output, ensuring that the test matches the actual output format.Issue2836.java:
Revised
test()
to standardize the structure of the expected output, aligning it with the actual output to eliminate discrepancies.Can be tested using:
Please indicate you've done the following: