Skip to content

Commit

Permalink
fix(tests): extend timeout between logins to avoid too many login error
Browse files Browse the repository at this point in the history
  • Loading branch information
QuentinRousselet committed May 23, 2024
1 parent 7248f07 commit d7e6a0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/hooks/engines.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)),
]);
}

0 comments on commit d7e6a0e

Please sign in to comment.