Skip to content

Commit

Permalink
Allow more attempts to detect race condition in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
aomarks committed Jan 28, 2025
1 parent bfbff17 commit fe7fc8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/failures.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ test(
let finalExit: ExitResult;
try {
// It could take multiple attempts to hit the race condition.
for (let i = 0; i < 20; i++) {
for (let i = 0; i < 100; i++) {
const failer = await rig.newCommand();
await rig.write({
'package.json': {
Expand Down Expand Up @@ -561,7 +561,7 @@ test(
let finalExit: ExitResult;
try {
// It could take multiple attempts to hit the race condition.
for (let i = 0; i < 20; i++) {
for (let i = 0; i < 100; i++) {
const failer = await rig.newCommand();
await rig.write({
'package.json': {
Expand Down

0 comments on commit fe7fc8f

Please sign in to comment.