Skip to content

Commit

Permalink
Increase linux arm64 timeouts (#405)
Browse files Browse the repository at this point in the history
  • Loading branch information
pat-trunk-io committed Jul 31, 2023
1 parent 4b4f7b0 commit f126cec
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tests/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,13 @@ export const skipCPUOS = (pairs: CpuOsPair[]) => (_version?: string) =>
* GitHub MacOS runners can run much slower, so allow for a larger timeout.
*/
export const osTimeoutMultiplier =
process.platform === "darwin" ? 3 : process.platform === "win32" ? 1.5 : 1;
process.platform === "darwin"
? 3
: process.platform === "win32"
? 1.5
: process.platform === "linux" && process.arch === "arm64"
? 3
: 1;

/**
* This wrapper on existing matchers is used to improve debuggability when an unexpected failure occurs.
Expand Down

0 comments on commit f126cec

Please sign in to comment.