mirror of
https://github.com/getpaseo/paseo.git
synced 2026-12-01 04:36:26 +00:00
Give the Windows untrusted worktrunk test the journey's 90 second budget (#10900)
The test starts the daemon twice, archives four times, and restores twice. On Windows CI it took 18 to 46 seconds on green main runs and timed out at 60 seconds on main run 45734061560, where every test in the file ran about twice as slow. Co-authored-by: paseo-bot[bot] <266920839+paseo-bot[bot]@users.noreply.github.com>
This commit is contained in:
@@ -718,6 +718,8 @@ export default function contribute(server) {
|
||||
}
|
||||
}, 60_000);
|
||||
|
||||
// Two daemon starts, four archives, and two restores. On Windows CI this takes 18 to 46 seconds
|
||||
// and went over 60 on a slow runner, so it gets the same budget as the worktrunk journey above.
|
||||
test("untrusted workspaces pass untrusted=true to worktree manager remove and restore, and worktrunk skips hooks", async () => {
|
||||
const root = await mkdtemp(path.join(tmpdir(), "paseo-worktrunk-untrusted-"));
|
||||
const repository = await createRepo(path.join(root, "repo"));
|
||||
@@ -867,7 +869,7 @@ test("untrusted workspaces pass untrusted=true to worktree manager remove and re
|
||||
await daemon.close();
|
||||
await rm(root, { recursive: true, force: true, maxRetries: 10, retryDelay: 100 });
|
||||
}
|
||||
}, 60_000);
|
||||
}, 90_000);
|
||||
|
||||
test("concurrent restores across two daemon clients wait for the in-flight manager restore and share its failure", async () => {
|
||||
const root = await mkdtemp(path.join(tmpdir(), "paseo-worktree-restore-race-"));
|
||||
|
||||
Reference in New Issue
Block a user