Skip to content

Commit c535e48

Browse files
lpincatargos
authored andcommitted
test: refresh tmpdir in child-process-server-close
PR-URL: #26729 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com> Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 7ebd6bd commit c535e48

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/parallel/test-child-process-server-close.js

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ const common = require('../common');
44
const { spawn } = require('child_process');
55
const net = require('net');
66

7+
const tmpdir = require('../common/tmpdir');
8+
tmpdir.refresh();
9+
710
const server = net.createServer((conn) => {
811
conn.on('close', common.mustCall());
912

0 commit comments

Comments
 (0)