From 0eab77c86fffcc7f71666d27a4ce2878bce0b828 Mon Sep 17 00:00:00 2001 From: Gibson Fahnestock Date: Mon, 17 Jul 2017 15:01:03 +0800 Subject: [PATCH] test: allow inspector to reopen with same port MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Test checks that if you open the inspector with '0' (pick a random free port), close it, then reopen it, you get a different port. However this isn't necessarily true. PR-URL: https://github.com/nodejs/node/pull/14320 Fixes: https://github.com/nodejs/node/issues/14316 Refs: https://github.com/nodejs/node/issues/14316#issuecomment-315680755 Reviewed-By: Benjamin Gruenbaum Reviewed-By: Tobias Nießen Reviewed-By: Luigi Pinca Reviewed-By: James M Snell Reviewed-By: Colin Ihrig --- test/parallel/test-inspector-open.js | 1 - 1 file changed, 1 deletion(-) diff --git a/test/parallel/test-inspector-open.js b/test/parallel/test-inspector-open.js index 346393d6fac646..26647c7e276716 100644 --- a/test/parallel/test-inspector-open.js +++ b/test/parallel/test-inspector-open.js @@ -68,7 +68,6 @@ function tryToCloseWhenClosed(msg) { function reopenAfterClose(msg) { assert.strictEqual(msg.cmd, 'url'); const port = url.parse(msg.url).port; - assert.notStrictEqual(port, firstPort); ping(port, (err) => { assert.ifError(err); process.exit();