Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
This commit is contained in:
Kai Tamkun
2025-01-08 21:53:03 -08:00
committed by GitHub
parent 2465ccae53
commit 9bca80c1a2
45 changed files with 3806 additions and 640 deletions

View File

@@ -49,6 +49,13 @@ const spawnTimeout = 5_000;
const testTimeout = 3 * 60_000;
const integrationTimeout = 5 * 60_000;
function getNodeParallelTestTimeout(testPath) {
if (testPath.includes("test-dns")) {
return 90_000;
}
return 10_000;
}
const { values: options, positionals: filters } = parseArgs({
allowPositionals: true,
options: {
@@ -251,7 +258,7 @@ async function runTests() {
const { ok, error, stdout } = await spawnBun(execPath, {
cwd: cwd,
args: [title],
timeout: 10_000,
timeout: getNodeParallelTestTimeout(title),
env: {
FORCE_COLOR: "0",
},