Skip to content

Commit

Permalink
test: refresh tmpdir in child-process-server-close
Browse files Browse the repository at this point in the history
PR-URL: nodejs#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>
  • Loading branch information
lpinca authored and ZYSzys committed Mar 21, 2019
1 parent 56199ec commit 67c9f42
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/parallel/test-child-process-server-close.js
Original file line number Diff line number Diff line change
Expand Up @@ -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());

Expand Down

0 comments on commit 67c9f42

Please sign in to comment.