Commit e879746
committed
test/objectstore/TestRocksdbOptionParse.cc: Fix race hazard
Race hazard - rocksdb does not register its threads until they start
running, and only guarantees the threads have been created before
returning. We need to be prepared to wait for the scheduler to
run the threads to avoid false positives.
Fixes: https://tracker.ceph.com/issues/66575
Signed-off-by: Bill Scales <[email protected]>1 parent 9d95021 commit e879746
1 file changed
+13
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
59 | 58 | | |
60 | | - | |
61 | | - | |
62 | | - | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
63 | 72 | | |
64 | 73 | | |
65 | 74 | | |
| |||
0 commit comments