Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
dns: fix test/pummel/test-net-pingpong.js
  • Loading branch information
treysis committed Sep 5, 2021
commit 6ac9106ccb97cc648f814d8558675feaec327990
3 changes: 2 additions & 1 deletion test/pummel/test-net-pingpong.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@ function pingPongTest(host, on_complete) {

// All are run at once and will run on different ports.
pingPongTest(null);
if (common.hasIPv6) pingPongTest('::1'); else pingPongTest('127.0.0.1');
pingPongTest('127.0.0.1');
if (common.hasIPv6) pingPongTest('::1');

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