Commit 3a0c689
committed
Fix flaky cancelTasksWithIds integration test
Updated the `cancelTasksWithIds` test in `example/integration_test/general_test.dart` to use a larger file (`urlWithContentLength` instead of `workingUrl`) for the task being cancelled. This prevents the task from completing before the cancellation request is processed, resolving a race condition that caused the test to fail with `TaskStatus.complete` instead of `TaskStatus.canceled`.1 parent d43f1ef commit 3a0c689
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
598 | 598 | | |
599 | 599 | | |
600 | 600 | | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
601 | 604 | | |
602 | 605 | | |
603 | 606 | | |
| |||
0 commit comments