Give the web console's state lock and page tests room under load

AI Assisted
This commit is contained in:
jparkerweb committed 2026-10-25 12:46:33 -07:00
1 parent 0de630603b
commit cb6468577d
8 files changed
+48 -9

No files matched your search

+3 -2
View File
@@ -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 });
}
});