Closed Mukta13 closed 1 day ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 74.22%. Comparing base (
f6cdd54
) to head (3701bf7
). Report is 37 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
What this PR does / why we need it
This PR fixes non-deterministic behavior in two specific files, ensuring consistent and reliable results across different builds. This resolves issue #3158
Summary of Changes
Modified Flaky Tests:
MapTest.java:
Updated
test()
,test1()
andtest2()
to enforce a consistent ordering of map entries in the expected output, aligning it with the actual output format.DateTypeTest.java:
Adjusted
test()
to correct the expected timestamp value, ensuring it matches the actual output. This was timezone dependent issue that is now fixed.Testing Instructions
The changes can be validated using the NonDex plugin to simulate non-deterministic behavior:
Checklist