Repository navigation
Commit cd3536d
test(zero-swift): wait for the deleted jump row's successor, not 2 s (#192)
theRowAJumpLandedOnIsDeleted gave the delete a fixed 2 s of wall-clock
time to reach the list. That takes several turns of the main actor, which
the other @mainactor suites share; HardenStorageTests' busy-write tests
hold it for seconds at a time (SQLite's 5 s busy timeout). When such a
stall covered the window, the test woke after it and read the list before
the delete had arrived: "on screen: n150".
It now waits for n151 to come up, then checks it stays, as it waits for the
jump before the delete.
Amp-Thread-ID: https://ampcode.com/threads/T-01a1d36c-588f-74c1-ab26-4bb389433e40
Co-authored-by: Amp <amp@ampcode.com>1 parent 9d49cce commit cd3536d
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
220 | | - | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
221 | 226 | | |
222 | 227 | | |
223 | 228 | | |
| |||
0 commit comments