From 84946b1fef64ee619f1c161d57ef4afdc533eae2 Mon Sep 17 00:00:00 2001 From: Christophe Besson Date: Sat, 17 Oct 2026 19:08:52 +0200 Subject: fix(spa): search hears a refused local network from the connection On a Pixel, Chrome still lists the refused address when search gives up, so nothing tells it from a silent node. The connection given up on now runs to its own verdict and the refusal is reported then. Co-Authored-By: Claude Opus 5.5 --- packages/meshbay-hub/tests/harness/local_network_harness.mjs | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'packages/meshbay-hub/tests/harness/local_network_harness.mjs') diff --git a/packages/meshbay-hub/tests/harness/local_network_harness.mjs b/packages/meshbay-hub/tests/harness/local_network_harness.mjs index 3c86cf77..9afdf59e 100644 --- a/packages/meshbay-hub/tests/harness/local_network_harness.mjs +++ b/packages/meshbay-hub/tests/harness/local_network_harness.mjs @@ -151,13 +151,6 @@ if (cfg.classify) { undefined, undefined, '', 'pk') .then(() => { outcome = 'connected'; }, (err) => { outcome = err.message; reason = err.reason || null; main.close(); }); - // What a caller that stops waiting early reads (connection-pool.js): at - // `probeAt` ms, while ICE is still checking, or after it connected. - let early = null; - if (cfg.probeAt) { - await run(cfg.probeAt); - early = await main.localNetworkRefused(); - } await run(60000); - process.stdout.write(JSON.stringify({ outcome, reason, statsCalls, early })); + process.stdout.write(JSON.stringify({ outcome, reason, statsCalls })); } -- cgit v1.2.3