Skip to content

Commit 5c79d5a

Browse files
treysisnodejs-github-bot
authored andcommitted
dns: fix test/pummel/test-net-pingpong.js
PR-URL: #39987 Fixes: #31566 Refs: #6307 Refs: #20710 Refs: #38099 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Michael Dawson <[email protected]>
1 parent a08162d commit 5c79d5a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/pummel/test-net-pingpong.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,8 @@ function pingPongTest(host, on_complete) {
112112

113113
// All are run at once and will run on different ports.
114114
pingPongTest(null);
115-
if (common.hasIPv6) pingPongTest('::1'); else pingPongTest('127.0.0.1');
115+
pingPongTest('127.0.0.1');
116+
if (common.hasIPv6) pingPongTest('::1');
116117

117118
process.on('exit', function() {
118119
assert.strictEqual(tests_run, common.hasIPv6 ? 3 : 2);

0 commit comments

Comments
 (0)