Commit ebadc1c
committed
fix: add timeout configurations to prevent flaky tests in CI
- Add explicit test timeout (15s), hook timeout (10s), and teardown timeout (10s) to vitest config
- Configure retry logic for CI environments to handle occasional flaky tests
- Add asyncUtilTimeout configuration to testing library to fail faster
- Resolves issue where tests would hang indefinitely in CI showing dots continuously
Fixes the flaky test issue reported in GitHub Actions run 166258586401 parent 6f9fea3 commit ebadc1c
2 files changed
+14
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
13 | 19 | | |
14 | 20 | | |
15 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
0 commit comments