Repository navigation
Commit 0f16c5e
Deflake CursorAdapter interrupt test cross-snapshot assertion
The test asserted the session/cancel request against the log snapshot
returned by the *second* waitForJsonLogMatch, but only the first wait
guaranteed that line — the two log appends are independent, so under
CI load the second snapshot can miss (or tear) the cancel line and the
assertion fails spuriously. Each assertion now checks the snapshot its
own wait resolved on. This flake predates the branch (zero Cursor
files are touched here) but kept failing this PR's Test job.
Co-Authored-By: Claude Fable 5 <[email protected]>1 parent 3adf756 commit 0f16c5e
1 file changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1030 | 1030 | | |
1031 | 1031 | | |
1032 | 1032 | | |
1033 | | - | |
| 1033 | + | |
| 1034 | + | |
| 1035 | + | |
| 1036 | + | |
| 1037 | + | |
| 1038 | + | |
| 1039 | + | |
| 1040 | + | |
1034 | 1041 | | |
1035 | | - | |
1036 | 1042 | | |
1037 | 1043 | | |
1038 | 1044 | | |
| |||
0 commit comments