Skip to content

Commit c02eb9a

Browse files
authored
Update staggered start delay thread.js (#172)
We are facing random issues (roughly 2/10 runs) where the second thread's command is triggered but doesn't execute any tests.
1 parent 7b1f7ee commit c02eb9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/thread.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ async function executeThread(thread, index) {
7979
const commandArguments = createCommandArguments(thread);
8080

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

8484
const timeMap = new Map();
8585

0 commit comments

Comments
 (0)