Commit 682dc8c
Merge #157782
157782: sql: deflake TestDropWithDeletedDescriptor test r=fqazi a=fqazi
Previously, TestDropWithDeletedDescriptor could flake if we wound up retrying at the KV DistSender, when communicating with the replica. This can happen under race / stress testing. To address this, this patch ensures the hook used by this test is only evaluated once.
Fixes: #157063
Release note: None
Co-authored-by: Faizan Qazi <[email protected]>1 file changed
+16
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
609 | 610 | | |
610 | 611 | | |
611 | 612 | | |
| 613 | + | |
| 614 | + | |
612 | 615 | | |
613 | 616 | | |
614 | 617 | | |
| |||
645 | 648 | | |
646 | 649 | | |
647 | 650 | | |
648 | | - | |
649 | | - | |
650 | | - | |
651 | | - | |
652 | | - | |
653 | | - | |
654 | | - | |
655 | | - | |
656 | | - | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
657 | 664 | | |
658 | 665 | | |
659 | 666 | | |
| |||
0 commit comments