From 9674a3faf90b65cab11bb17e47b466d062e07de7 Mon Sep 17 00:00:00 2001 From: Ritik Jain <60597329+re-Tick@users.noreply.github.com> Date: Mon, 26 Feb 2024 17:31:11 +0530 Subject: [PATCH] fix: updates the maxTimeout for the keploy test to 5 minutes (#104) * fix: updates the maxTimeout for keploy test to 5 minutes Signed-off-by: re-Tick --------- Signed-off-by: re-Tick --- keployCli.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/keployCli.ts b/keployCli.ts index dd9761c..93235cb 100644 --- a/keployCli.ts +++ b/keployCli.ts @@ -32,9 +32,8 @@ export const Test = async (appCmd: string, options: TestOptions, callback: (err: appCmd = "npm start" } if (options.maxTimeout === 0 || options.maxTimeout === undefined || options.maxTimeout === null) { - options.maxTimeout = 30000; + options.maxTimeout = 300000; } - let testResult = true; let startTime = Date.now(); try {