Compare commits

...

1 Commits

Author SHA1 Message Date
bryan a2e102fe15 windows lint fix 2026-02-03 20:00:11 -08:00
+5 -2
View File
@@ -86,8 +86,11 @@ async def test_batched_write_cache_consistency(tmp_path: Path):
"Cache should not be updated before batch is flushed"
)
# Wait for batch to flush
await asyncio.sleep(0.1)
# Wait for batch to flush (poll instead of fixed sleep for CI reliability)
for _ in range(500): # 500 * 0.01s = 5s max
if cache_key in storage._cache:
break
await asyncio.sleep(0.01)
# After batch flush, cache should contain the run
assert cache_key in storage._cache, "Cache should be updated after batch flush"