Skip to content

Commit

Permalink
test: fixup flaky test-performance-function-async test
Browse files Browse the repository at this point in the history
The time assertion was inaccurate. Just remove it as it's
not strictly necessary

PR-URL: #37493
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
  • Loading branch information
jasnell committed Feb 23, 2021
1 parent 4eec919 commit ecc5842
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion test/parallel/test-performance-function-async.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ async function doIt() {
const obs = new PerformanceObserver(common.mustCall((list) => {
const entry = list.getEntries()[0];
assert.strictEqual(entry.name, 'doIt');
assert(entry.duration > 100);
assert(check);
obs.disconnect();
}));
Expand Down

0 comments on commit ecc5842

Please sign in to comment.