From 67c9f424b80ce0a3b86cfa54f030cb1b8fe11707 Mon Sep 17 00:00:00 2001 From: Luigi Pinca Date: Mon, 18 Mar 2019 10:47:45 +0100 Subject: [PATCH] test: refresh tmpdir in child-process-server-close PR-URL: https://github.com/nodejs/node/pull/26729 Reviewed-By: Colin Ihrig Reviewed-By: Richard Lau Reviewed-By: Yongsheng Zhang Reviewed-By: Anto Aravinth Reviewed-By: James M Snell --- test/parallel/test-child-process-server-close.js | 3 +++ 1 file changed, 3 insertions(+) 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());