Commit 7dbd5ed
test: extend volume-ready wait with a post-list sleep
Initial fix polled `volumes list` and stopped when the new volume
appeared, but the mount still raced — the cluster takes another beat
after the volume is queryable before it's actually mountable. Add a
configurable `postListSleepMs` (default 5s) after the list confirms,
and bump the overall timeout to 30s. Each sandbox-with-volume run now
spends ~5-15s waiting, which is well below the 60s sandbox timeout.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 4d7901b commit 7dbd5ed
1 file changed
Lines changed: 14 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
23 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
24 | 29 | | |
25 | 30 | | |
26 | 31 | | |
27 | 32 | | |
28 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
29 | 37 | | |
30 | 38 | | |
31 | 39 | | |
| |||
0 commit comments