Commit af75e1c
fix(test): Fix flaky previous session finalization test
Use awaitility to wait for the previous session file to be deleted
instead of asserting immediately. The PreviousSessionFinalizer runs
as a separate task after the test's task in the single-threaded
executor, so there is a race between the assertion and the file
deletion.
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 9054d65 commit af75e1c
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
964 | 964 | | |
965 | 965 | | |
966 | 966 | | |
967 | | - | |
| 967 | + | |
| 968 | + | |
| 969 | + | |
968 | 970 | | |
969 | 971 | | |
970 | 972 | | |
| |||
0 commit comments