diff options
author | Gibson Fahnestock <gibfahn@gmail.com> | 2017-07-17 15:01:03 +0800 |
---|---|---|
committer | Gibson Fahnestock <gibfahn@gmail.com> | 2017-08-12 19:51:39 +0100 |
commit | 8780e1d79b2162f95a50ec350b045868e93cac47 (patch) | |
tree | 9ad83d65f3474e1020050ccac9aaa7de4673a523 /test | |
parent | ab2b331f5e3204f7b9b6362c7502910ecde6acae (diff) | |
download | android-node-v8-8780e1d79b2162f95a50ec350b045868e93cac47.tar.gz android-node-v8-8780e1d79b2162f95a50ec350b045868e93cac47.tar.bz2 android-node-v8-8780e1d79b2162f95a50ec350b045868e93cac47.zip |
test: allow inspector to reopen with same port
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 <benjamingr@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/parallel/test-inspector-open.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/test/parallel/test-inspector-open.js b/test/parallel/test-inspector-open.js index 1e2485a1df..e01d332e03 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(); |