Skip to content

Commit fe7fc8f

Browse files
committed
Allow more attempts to detect race condition in CI
1 parent bfbff17 commit fe7fc8f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/failures.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ test(
496496
let finalExit: ExitResult;
497497
try {
498498
// It could take multiple attempts to hit the race condition.
499-
for (let i = 0; i < 20; i++) {
499+
for (let i = 0; i < 100; i++) {
500500
const failer = await rig.newCommand();
501501
await rig.write({
502502
'package.json': {
@@ -561,7 +561,7 @@ test(
561561
let finalExit: ExitResult;
562562
try {
563563
// It could take multiple attempts to hit the race condition.
564-
for (let i = 0; i < 20; i++) {
564+
for (let i = 0; i < 100; i++) {
565565
const failer = await rig.newCommand();
566566
await rig.write({
567567
'package.json': {

0 commit comments

Comments
 (0)