Commit e932aac
committed
test(storage): assert gate membership in compaction filter test
The compaction filter test gate is process-global: any Remove decision
from concurrently running tests is recorded into the installed gate.
Three sibling tests produce Remove for byte-identical key bytes without
taking the serial mutex, so test_removes_data_if_meta_is_expired could
observe the key recorded twice and fail its exact-equality assertion
(surfaced under AddressSanitizer where the race window is wider), and
its panic then poisoned the serial mutex, cascading PoisonError
failures in the redis.rs lifecycle tests. Assert membership instead,
matching the convention already used by the lifecycle tests.1 parent c3dda2b commit e932aac
1 file changed
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
919 | 919 | | |
920 | 920 | | |
921 | 921 | | |
922 | | - | |
923 | | - | |
924 | | - | |
| 922 | + | |
| 923 | + | |
| 924 | + | |
| 925 | + | |
| 926 | + | |
| 927 | + | |
| 928 | + | |
925 | 929 | | |
926 | 930 | | |
927 | 931 | | |
| |||
0 commit comments