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 <duhamelantoine1995@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michael Dawson <midawson@redhat.com>
1 parent a08162d commit 5c79d5a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

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)