diff --git a/test/parallel/test-child-process-server-close.js b/test/parallel/test-child-process-server-close.js index f03203cdab0e7e..ec95fed67b4fa7 100644 --- a/test/parallel/test-child-process-server-close.js +++ b/test/parallel/test-child-process-server-close.js @@ -4,6 +4,9 @@ const common = require('../common'); const { spawn } = require('child_process'); const net = require('net'); +const tmpdir = require('../common/tmpdir'); +tmpdir.refresh(); + const server = net.createServer((conn) => { conn.on('close', common.mustCall());