diff --git a/test/parallel/test-async-wrap-uncaughtexception.js b/test/parallel/test-async-wrap-uncaughtexception.js index 9427e2fb787a9b..a1398decf845eb 100644 --- a/test/parallel/test-async-wrap-uncaughtexception.js +++ b/test/parallel/test-async-wrap-uncaughtexception.js @@ -33,7 +33,7 @@ hooks = async_hooks.createHook({ }).enable(); -process.on('uncaughtException', common.mustCall(() => { +process.once('uncaughtException', common.mustCall(() => { assert.strictEqual(call_id, async_hooks.executionAsyncId()); call_log[2]++; }));