Skip to content

Commit

Permalink
ci(NODE-4615): bump flaky operation count tests threshold (mongodb#3753)
Browse files Browse the repository at this point in the history
  • Loading branch information
baileympearson committed Jul 7, 2023
1 parent 8649221 commit eb99291
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,8 @@ describe('operationCount-based Selection Within Latency Window - Prose Test', fu
const [host1, host2] = seeds.map(seed => seed.split(':')[1]);
const percentageToHost1 = (counts[host1] / totalNumberOfTasks) * 100;
const percentageToHost2 = (counts[host2] / totalNumberOfTasks) * 100;
expect(percentageToHost1).to.be.greaterThan(40).and.lessThan(60);
expect(percentageToHost2).to.be.greaterThan(40).and.lessThan(60);
expect(percentageToHost1).to.be.greaterThan(35).and.lessThan(65);
expect(percentageToHost2).to.be.greaterThan(35).and.lessThan(65);
});

it(
Expand All @@ -188,8 +188,8 @@ describe('operationCount-based Selection Within Latency Window - Prose Test', fu
const [host1, host2] = seeds.map(seed => seed.split(':')[1]);
const percentageToHost1 = (counts[host1] / n) * 100;
const percentageToHost2 = (counts[host2] / n) * 100;
expect(percentageToHost1).to.be.greaterThan(40).and.lessThan(60);
expect(percentageToHost2).to.be.greaterThan(40).and.lessThan(60);
expect(percentageToHost1).to.be.greaterThan(35).and.lessThan(65);
expect(percentageToHost2).to.be.greaterThan(35).and.lessThan(65);
}
);
});

0 comments on commit eb99291

Please sign in to comment.