Skip to content

Commit

Permalink
chore: swifty nifty slowy languagy
Browse files Browse the repository at this point in the history
  • Loading branch information
shortcuts committed Jul 15, 2024
1 parent fe57681 commit 6a52ff6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/cts/testServer/timeout.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ export function assertValidTimeouts(expectedCount: number): void {
case 'PHP':
expect(state.duration[0] * 2).to.be.closeTo(state.duration[1], 200);
break;
case 'Swift':
expect(state.duration[0]).to.be.closeTo(state.duration[1], 500);
break;
default:
// the delay should be the same, because the `retryCount` is per host instead of global
expect(state.duration[0]).to.be.closeTo(state.duration[1], 100);
Expand Down

0 comments on commit 6a52ff6

Please sign in to comment.