test: refresh tmpdir in child-process-server-close · nodejs/node@c535e48 (original) (raw)
Navigation Menu
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Commit c535e48
authored and
committed
test: refresh tmpdir in child-process-server-close
PR-URL: #26729Reviewed-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
File tree
1 file changed
lines changed
1 file changed
lines changed
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -4,6 +4,9 @@ const common = require('../common'); | ||
4 | 4 | const { spawn } = require('child_process'); |
5 | 5 | const net = require('net'); |
6 | 6 | |
7 | +const tmpdir = require('../common/tmpdir'); | |
8 | +tmpdir.refresh(); | |
9 | + | |
7 | 10 | const server = net.createServer((conn) => { |
8 | 11 | conn.on('close', common.mustCall()); |
9 | 12 |