Skip to content

Tests: replace absolute throughput floors in concurrency tests with an overlap proof - #59

Merged
tae898 merged 1 commit into
mainfrom
fix/ivf-concurrency-work-floor
Nov 8, 2026
Merged

tae898 merged 1 commit into
mainfrom
fix/ivf-concurrency-work-floor

Conversation

@tae898

@tae898 tae898 commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

Closes #58

I replaced the absolute throughput floor in IvfConcurrencyTest with a proof that writers and readers overlapped.

Test Old New
IvfConcurrencyTest (IvfConcurrencyShortTest, IvfConcurrencyLongTest, ScalarTwinIvfConcurrencyTest) writes > 1000 && reads > 1000 writes > 100 && reads > 50, plus the existing retrains >= 1
ApplyStressTest batches >= 500, searches >= 500 batches >= 50, searches >= 50

The run length stays time-based and no correctness check is weakened (result equality, zero errors, last-100-inserts, size and list sizes, every id found by its own vector). The failing Windows run had 249 reads in 5 s, so the old floor measured the speed of the runner, not correctness under concurrency. The other concurrency tests (FlatConcurrencyTest, GraphConcurrencyTest, TierTests) have no absolute throughput floor.

Nothing ran locally (no java or mvn on this laptop); CI runs the tests.

🤖 Generated with Claude Code

…n overlap proof

IvfConcurrencyTest required more than 1000 reads in 5 s, which failed on a slow GitHub-hosted Windows runner (249 reads). The test is about correctness under concurrency, so it now requires writes > 100 and reads > 50 (plus the existing retrain check). ApplyStressTest had the same pattern (500 floors) and drops to 50.

Closes #58

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@tae898
tae898 merged commit ec9e467 into main Nov 8, 2026
9 checks passed
@tae898
tae898 deleted the fix/ivf-concurrency-work-floor branch November 8, 2026 13:47
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.

IvfConcurrencyTest: absolute throughput floor flakes on slow CI runners

1 participant