Skip to content
Prev Previous commit
Next Next commit
fixup! test: windows fanned test failed
  • Loading branch information
legendecas committed May 17, 2021
commit 69d3ea5b768a8e25f938d26ce029c862ef45a5f2
5 changes: 1 addition & 4 deletions test/report/test-report-uv-handles.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// Testcase to check reporting of uv handles.
const common = require('../common');
const tmpdir = require('../common/tmpdir');
Comment thread
richardlau marked this conversation as resolved.
const path = require('path');
if (common.isIBMi)
common.skip('IBMi does not support fs.watch()');

Expand Down Expand Up @@ -91,9 +90,7 @@ function createUdpHandle(childData) {

function createNamedPipeHandle(childData) {
const net = require('net');
const fs = require('fs');
fs.mkdirSync(tmpdir.path, { recursive: true });
const sockPath = path.join(tmpdir.path, 'test-report-uv-handles.sock');
const sockPath = `${common.PIPE}-listen-path-test-report-uv-handles`;
return new Promise((resolve) => {
const server = net.createServer((socket) => {
childData.pipe_sock_path = server.address();
Expand Down