Skip to content

Commit

Permalink
test: fix flaky test-resolve-async
Browse files Browse the repository at this point in the history
  • Loading branch information
apapirovski committed Jan 3, 2018
1 parent 5dbd77e commit 766322d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/addons/callback-scope/test-resolve-async.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ testResolveAsync().then(common.mustCall(() => {
called = true;
}));

setTimeout(common.mustCall(() => { assert(called); }),
common.platformTimeout(20));
setTimeout(common.mustCall(() => assert(called)),
common.platformTimeout(50));

0 comments on commit 766322d

Please sign in to comment.