Skip to content

Commit

Permalink
Update retry.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus authored Oct 15, 2023
1 parent 6804448 commit 37fb68e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/retry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ const fixture = 'fixture';
const defaultRetryCount = 2;
const retryAfterOn413 = 2;
const lastTried413access = Date.now();

// We allow the tests to take more time on CI than locally, to reduce flakiness
const allowedOffset = process.env.CI ? 1000 : 300;

Expand Down

0 comments on commit 37fb68e

Please sign in to comment.