mirror of
https://github.com/jparkerweb/plan2code.git
synced 2026-11-16 20:45:33 -08:00
Give the web console's state lock and page tests room under load
AI Assisted
This commit is contained in:
1 parent
0de630603b
commit
cb6468577d
8 files changed
+48
-9
No files matched your search
@@ -291,8 +291,9 @@ test("open from a linked worktree seeds the workspace with the worktree, not the
|
||||
} finally {
|
||||
if (sidOpened) cliIn(wt, ["stop", "--session", sidOpened]);
|
||||
// A stopped server can take a while to let go of its working directory on
|
||||
// Windows, and longer while other test files load the machine.
|
||||
fs.rmSync(base, { recursive: true, force: true, maxRetries: 20, retryDelay: 250 });
|
||||
// Windows, and longer while other test files load the machine: under a
|
||||
// full-suite run this needed more than the 5s a 20x250ms retry gave it.
|
||||
fs.rmSync(base, { recursive: true, force: true, maxRetries: 40, retryDelay: 250 });
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user