Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion test/sequential/test-performance-eventloopdelay.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ const { sleep } = require('internal/util');
// The values are non-deterministic, so we just check that a value is
// present, as opposed to a specific value.
assert(histogram.count > 0, `Expected samples to be recorded, got count=${histogram.count}`);
assert(histogram.min > 0);
// The clock can report the same value for two samples on some systems.
assert(histogram.min >= 0);
assert(histogram.max > 0);
assert(histogram.stddev > 0);
assert(histogram.mean > 0);
Expand Down
Loading