plinter icon indicating copy to clipboard operation
plinter copied to clipboard

Some tests using provided executors are randomly failing in pipeline.

Open dkorobtsov opened this issue 2 years ago • 0 comments

🐞 Bug Report

Current Behavior

There are few tests that are randomly failing in pipeline. (~1-2 failures in 1000 runs) All are using provided executors. There is obviously race condition somewhere, but it's not easy to catch. Probably not going to fix that unless smb else will raise it as a problem.

Steps to Reproduce

  • Search for tests that have @Retry annotation.
  • Remove Retry.
  • Add Shampoo rule @Rule public final TestRule shampoo = new ShampooRule(1000); to class with failing tests
  • Run Test, it will be repeated up to 1000 times or until failure.

Expected Behavior

Tests should not fail.

Checklist:

  • [x] I have checked if this issue or request is not already reported
  • [x] I have provided any necessary information and steps to reproduce (for bugs) or described my new feature (for feature requests)

dkorobtsov avatar Sep 01 '23 23:09 dkorobtsov