diff --git a/test/parallel/test-cluster-net-listen-ipv6only-rr.js b/test/parallel/test-cluster-net-listen-ipv6only-rr.js index de254a4fe9ecd9..e5944ccf602e54 100644 --- a/test/parallel/test-cluster-net-listen-ipv6only-rr.js +++ b/test/parallel/test-cluster-net-listen-ipv6only-rr.js @@ -40,9 +40,7 @@ if (cluster.isMaster) { if (!address) { address = workerAddress; } else { - assert.strictEqual(address.addressType, workerAddress.addressType); - assert.strictEqual(address.host, workerAddress.host); - assert.strictEqual(address.port, workerAddress.port); + assert.deepStrictEqual(workerAddress, address); } countdown.dec(); }));