Commit 01bb465
Fix flaky test_native_cache_keep by polling for cache file
Replace fixed 2s sleep with wait_for_file polling (up to 10s) for the
cache_keep=True case. On slow CI machines the daemon may not finish
writing the cache file within 2 seconds.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent d433459 commit 01bb465
2 files changed
+7
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
559 | 559 | | |
560 | 560 | | |
561 | 561 | | |
| 562 | + | |
562 | 563 | | |
563 | 564 | | |
564 | 565 | | |
565 | 566 | | |
566 | | - | |
| 567 | + | |
567 | 568 | | |
568 | 569 | | |
569 | 570 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
644 | 645 | | |
645 | 646 | | |
646 | 647 | | |
647 | | - | |
648 | | - | |
649 | | - | |
650 | | - | |
651 | 648 | | |
652 | | - | |
| 649 | + | |
| 650 | + | |
653 | 651 | | |
654 | | - | |
| 652 | + | |
| 653 | + | |
0 commit comments