From d7e6a0e97a3ba518369a93220c31b30180489c80 Mon Sep 17 00:00:00 2001 From: Quentin Date: Thu, 23 May 2024 16:15:03 +0200 Subject: [PATCH] fix(tests): extend timeout between logins to avoid too many login error --- tests/hooks/engines.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/hooks/engines.ts b/tests/hooks/engines.ts index ce878e9c..a8dd1ab9 100644 --- a/tests/hooks/engines.ts +++ b/tests/hooks/engines.ts @@ -37,6 +37,6 @@ export async function beforeAllCreateEngines(sdk: Kuzzle) { createEngineIfNotExists(sdk, "engine-kuzzle"), createEngineIfNotExists(sdk, "engine-other-group", "other-group"), // Timeout to avoid too many login per seconds error - new Promise((resolve) => setTimeout(resolve, 300)), + new Promise((resolve) => setTimeout(resolve, 1000)), ]); }