diff --git a/test/pummel/test-net-pingpong.js b/test/pummel/test-net-pingpong.js index c5ada54fcecd74..7db902ddbed20a 100644 --- a/test/pummel/test-net-pingpong.js +++ b/test/pummel/test-net-pingpong.js @@ -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);