mirror of
https://github.com/qdrant/qdrant.git
synced 2026-07-26 12:41:04 -05:00
The test relied on concurrent background upserts adding *new* matching points to the destination shard during the streamed transfer, asserting the destination count was strictly greater than the original snapshot. Whether new matching points land in the destination before the transfer completes is timing-dependent (especially under pytest-xdist load), so the strict `>` assertion is racy and occasionally fails with equal counts (e.g. `assert 5031 > 5031`). Relax to `>=` and keep the strict `dest == src` consistency check, which is the actual invariant being verified. Co-authored-by: Cursor <cursoragent@cursor.com>