Skip to content

Commit

Permalink
Update staggered start delay thread.js (#172)
Browse files Browse the repository at this point in the history
We are facing random issues (roughly 2/10 runs) where the second thread's command is triggered but doesn't execute any tests.
  • Loading branch information
hatseh authored Nov 30, 2023
1 parent 7b1f7ee commit c02eb9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/thread.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ async function executeThread(thread, index) {
const commandArguments = createCommandArguments(thread);

// staggered start (when executed in container with xvfb ends up having a race condition causing intermittent failures)
await sleep(index * 2000);
await sleep((index +1) * 2000);

const timeMap = new Map();

Expand Down

0 comments on commit c02eb9a

Please sign in to comment.