Commit ae79b7d
committed
PSMDB-1078: fix TemporaryRecordStoreSimple test to handle ObjectIsBusy from dropIdent
The TemporaryRecordStoreSimple test can fail when dropIdent() returns
ErrorCodes::ObjectIsBusy, which occurs when the ident is temporarily in
use. This is a transient condition that should be retried.
This change adds retry logic to the test, retrying dropIdent() until it
succeeds when ObjectIsBusy is returned. This matches the pattern used in
production code (e.g. WiredTigerKVEngine::dropIdentForImport).1 parent 8149d23 commit ae79b7d
1 file changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
389 | 389 | | |
390 | 390 | | |
391 | 391 | | |
392 | | - | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
393 | 400 | | |
394 | 401 | | |
395 | 402 | | |
| |||
0 commit comments