Commit e046fb3
committed
test(e2e): retry temp-dir removal in cleanup to absorb daemon-exit races
The after-each cleanup can race a just-stopped daemon still flushing files
under the temporary HOME, failing the suite with ENOTEMPTY even though the
test itself passed. Retry the recursive removal with rmSync's built-in
maxRetries/retryDelay instead of failing the hook.1 parent bb4af83 commit e046fb3
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
94 | 97 | | |
95 | 98 | | |
96 | 99 | | |
| |||
0 commit comments