Skip to content

Commit

Permalink
Bug 1777638 - intermittent test failure caused by adding two cast val…
Browse files Browse the repository at this point in the history
…ues caused test result to fall below expected minimum r=chutten

Differential Revision: https://phabricator.services.mozilla.com/D155842
  • Loading branch information
perrymcmanis144 committed Aug 29, 2022
1 parent 9847beb commit e63c563
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion toolkit/components/glean/tests/xpcshell/test_GIFFT.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,8 @@ add_task(async function test_gifft_timing_dist() {
const EPSILON = 40000;

// Variance in timing makes getting the sum impossible to know.
Assert.greater(data.sum, 15 * NANOS_IN_MILLIS - EPSILON);
// 10 and 5 input value can be trunacted to 4. + 9. >= 13. from cast
Assert.greater(data.sum, 13 * NANOS_IN_MILLIS - EPSILON);

// No guarantees from timers means no guarantees on buckets.
// But we can guarantee it's only two samples.
Expand Down

0 comments on commit e63c563

Please sign in to comment.