Skip to content

test: give the DropIndex concurrency tests a load-tolerant lock timeout - #324

Merged
mrdevrobot merged 1 commit into
mainfrom
test/drop-index-lock-timeouts
Oct 18, 2026
Merged

mrdevrobot merged 1 commit into
mainfrom
test/drop-index-lock-timeouts

Conversation

@mrdevrobot

Copy link
Copy Markdown
Contributor

Two tests added in #239 fail intermittently on CI with lock timeouts (three times in the last runs on main and on PRs): DynamicCollection_DropIndex_WaitsForTheCollectionLock and DynamicCollection_DropIndex_WhileInserting_KeepsCollectionAndOtherIndexConsistent. Eight writers and a drop contend for the collection lock, and the 500 ms default is too short on a loaded runner. The tests check ordering and consistency, not lock latency, so they now open the engine with 30 s locks; the assertions are unchanged (the drop is still checked to wait while the lock is held).

Test-only change. The other known flaky tests (CrossCollectionWriteRaceTests, CdcScalabilityTests, MetricsTests) are not touched here.

🤖 Generated with Claude Code

DynamicCollection_DropIndex_WaitsForTheCollectionLock and
DynamicCollection_DropIndex_WhileInserting failed intermittently on CI with
lock timeouts: eight writers and a drop contend for the collection lock, and
the 500 ms default is too short on a loaded runner. The tests check ordering
and consistency, not lock latency, so they open the engine with 30 s locks.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mrdevrobot
mrdevrobot merged commit b260100 into main Oct 18, 2026
6 of 7 checks passed
@mrdevrobot
mrdevrobot deleted the test/drop-index-lock-timeouts branch October 18, 2026 20:51

This branch was successfully deployed

1 active deployment
Production — 56b53874 Deployed Oct 18, 2026 by mrdevrobot via build_and_publish #789
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant