Commit 5a26525
committed
fix(test): make dlx tests sequential to prevent race conditions
Tests were failing in CI due to parallel execution causing interference:
- Multiple tests modifying the same shared DLX directory
- Race conditions between directory creation/deletion operations
- Windows timing issues with sync delete + async check
Fixes:
- Mark test suite as sequential (describe.sequential)
- Use async fs.promises.rm() for async existence checks
- Ensures proper test isolation and consistent timing
Resolves CI failures on Node 20/22/24 across Ubuntu and Windows.1 parent 69b8c15 commit 5a26525
1 file changed
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
87 | | - | |
88 | | - | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
89 | 91 | | |
90 | 92 | | |
91 | 93 | | |
| |||
0 commit comments