Commit 28a69bf
Remove sleep that waits for slab advising workers
Summary:
Even though this test looks [healthy on TestX](https://www.internalfb.com/intern/test/844425196455282) it's marked flaky. Here are the errors:
{F1988281045}
The issue seems to be that we're waiting 5 seconds for locking/advising, but sometimes the process hasn't finished by the time we get to the asserts. That jives with this issue showing up in stress runs (18 jobs) on the dev (slow) builds.
Use the ASSERT_EVENTUALLY_TRUE helper instead. While it internally does sleeping, it's more robust to these sorts of transient issues.
Also remove an unused header.
___
overriding_review_checks_triggers_an_audit_and_retroactive_review
Oncall Short Name: cachelib
Differential Revision: D100989998
fbshipit-source-id: 01d4c98fe4ea5dbcb6e3cbc6eb0e93b5293b06d71 parent f3dd264 commit 28a69bf
2 files changed
Lines changed: 7 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
646 | 646 | | |
647 | 647 | | |
648 | 648 | | |
649 | | - | |
650 | 649 | | |
651 | 650 | | |
652 | 651 | | |
| |||
672 | 671 | | |
673 | 672 | | |
674 | 673 | | |
675 | | - | |
676 | | - | |
677 | 674 | | |
678 | 675 | | |
679 | 676 | | |
| |||
720 | 717 | | |
721 | 718 | | |
722 | 719 | | |
723 | | - | |
724 | | - | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
725 | 723 | | |
726 | 724 | | |
727 | 725 | | |
728 | 726 | | |
729 | 727 | | |
730 | 728 | | |
731 | 729 | | |
732 | | - | |
733 | | - | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
734 | 734 | | |
735 | 735 | | |
736 | 736 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | 21 | | |
23 | 22 | | |
24 | 23 | | |
| |||
0 commit comments