From ebfbd74c24fe7efdc37b5d5c5691ef6b0b174f71 Mon Sep 17 00:00:00 2001 From: Oliver Eyton-Williams Date: Thu, 27 Jun 2024 22:29:53 +0200 Subject: [PATCH] test: increase timeout for initial contents tests (#55355) --- curriculum/test/test-challenges.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/curriculum/test/test-challenges.js b/curriculum/test/test-challenges.js index 3658569e211..f600fcf527f 100644 --- a/curriculum/test/test-challenges.js +++ b/curriculum/test/test-challenges.js @@ -417,7 +417,9 @@ function populateTestsForLang({ lang, challenges, meta, superBlocks }) { const timePerTest = challengeType === challengeTypes.python ? 10000 : 5000; it('Test suite must fail on the initial contents', async function () { - this.timeout(timePerTest * tests.length + 1000); + // TODO: some tests take a surprisingly long time to setup the + // test runner, so this timeout is large while we investigate. + this.timeout(timePerTest * tests.length + 20000); // suppress errors in the console. const oldConsoleError = console.error; console.error = () => {};