From 69e0759c8df043d3ca2cff8bb25ada58a1f8096c Mon Sep 17 00:00:00 2001 From: Matthew Zipkin Date: Fri, 12 Aug 2022 15:09:08 -0400 Subject: [PATCH] test: update public host test for new networking policy see https://github.com/handshake-org/hsd/pull/692 --- test/node-http-test.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/node-http-test.js b/test/node-http-test.js index 8ff209a5d..b7335a880 100644 --- a/test/node-http-test.js +++ b/test/node-http-test.js @@ -49,7 +49,7 @@ describe('Node HTTP', function() { assert.strictEqual(pub.brontidePort, null); }); - it('should have public address: regtest, listen', async () => { + it('should not have public address: regtest, listen', async () => { const network = Network.get('regtest'); const node = new FullNode({ @@ -73,9 +73,9 @@ describe('Node HTTP', function() { const {public: pub} = pool; assert.strictEqual(pub.listen, true); - assert.notStrictEqual(pub.host, null); // will be "discovered" using DNS - assert.strictEqual(pub.port, network.port); - assert.strictEqual(pub.brontidePort, network.brontidePort); + assert.strictEqual(pub.host, null); // we don't discover from external + assert.strictEqual(pub.port, null); + assert.strictEqual(pub.brontidePort, null); }); it('should not have public address: main', async () => {