Investigate flaky testEventSerialization Java test failures
Description
testEventSerialization is flakily. We need to investigate and figure out why and possible fix.
Action requested
- Retry tests automatically (depends on #3049 )
- Look into the root causes of our flaky tests
Additional context
https://github.com/CDCgov/prime-simplereport/actions/runs/1965367265/attempts/1
Needed 2 retries to pass: https://github.com/CDCgov/prime-simplereport/runs/5487318341?check_suite_focus=true
Example of flaky backend test: https://github.com/CDCgov/prime-simplereport/actions/runs/3062221733/jobs/4942953265
Example of flaky e2e tests: https://github.com/CDCgov/prime-simplereport/actions/runs/3061893121/jobs/4942389476
Export test occasionally fails; usually off by a few seconds.
We need to check and see if the other issues are still present after the Spring upgrade.