[Testing] Fix flaky unit tests - #8634
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
…-races' into janez/fix-flaky-unit-tests-batch-2
|
No concerns from this review — 2 nits, nothing blocking. The only Verified correct (subtle bits worth recording)
One caveat on my own verification: this review job cannot execute tests, so I could not independently reproduce the Nits
Pre-existing (informational, not this PR's problem) The same transaction costs ~5 more computation units when it lands in a block whose ID selects UUID partition 0, because that partition reuses the legacy |
Test-only fixes for 40+ flaky unit tests found by repeatedly running the full suite (500+ runs total; failure rate went from 13/20 runs on master to 2/100 with these fixes and #8633). Continues #8626. No code changes. Bugs found by the same campaign are fixed separately in #8633.
Changes
-race(echo engine map access, transaction stream suite block pointers, shared gRPC serve error variable).Each fix verified with 20-100x stress runs of the affected test, most with
-race, plus full-package runs and lint.Related: #8626, #8633
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.