Skip to content

Commit

Permalink
test: reduce polling test median greatest value
Browse files Browse the repository at this point in the history
This is an effort to reduce the flakiness of this test.

(cherry picked from commit 15355a8)
  • Loading branch information
alan-agius4 committed Sep 28, 2022
1 parent 1f26cc1 commit 1322324
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ describe('Browser Builder poll', () => {

intervals.sort();
const median = intervals[Math.trunc(intervals.length / 2)];
expect(median).toBeGreaterThan(3000);
expect(median).toBeGreaterThan(2950);
expect(median).toBeLessThan(12000);

await run.stop();
Expand Down

0 comments on commit 1322324

Please sign in to comment.