From 9c0c2867dd1ef72254b4ac114483b2c86c8b6266 Mon Sep 17 00:00:00 2001 From: n1474335 Date: Fri, 13 Mar 2020 15:06:40 +0000 Subject: [PATCH] Increased test timeout to 120s from 60 --- tests/lib/utils.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/lib/utils.mjs b/tests/lib/utils.mjs index da10754b..e29dbf90 100644 --- a/tests/lib/utils.mjs +++ b/tests/lib/utils.mjs @@ -35,7 +35,7 @@ function handleTestResult(testStatus, testResult) { testStatus.counts.total += 1; if (testResult.duration > 2000) { - console.log(`'${testResult.test.name}' took ${(testResult.duration / 1000).toFixed(2)}s to complete`); + console.log(`'${testResult.test.name}' took ${(testResult.duration / 1000).toFixed(1)}s to complete`); } } @@ -82,7 +82,7 @@ export function logTestReport(testStatus, results) { * Fail if the process takes longer than 60 seconds. */ export function setLongTestFailure() { - const timeLimit = 60; + const timeLimit = 120; setTimeout(function() { console.log(`Tests took longer than ${timeLimit} seconds to run, returning.`); process.exit(1);