diff options
| author | Christophe Besson <cbesson@gmail.com> | 2026-10-17 19:08:52 +0200 |
|---|---|---|
| committer | Christophe Besson <cbesson@gmail.com> | 2026-10-17 19:08:52 +0200 |
| commit | 84946b1fef64ee619f1c161d57ef4afdc533eae2 (patch) | |
| tree | 55d13c6536b5cc2bdb8754eb0d82b6339f01072b /packages/meshbay-hub/tests/harness/local_network_harness.mjs | |
| parent | 7e01b7e8c2ce2ef9fce8b6c053c3b7210b64f9bf (diff) | |
| download | meshbay-84946b1fef64ee619f1c161d57ef4afdc533eae2.tar.gz | |
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 <noreply@anthropic.com>
Diffstat (limited to 'packages/meshbay-hub/tests/harness/local_network_harness.mjs')
| -rw-r--r-- | packages/meshbay-hub/tests/harness/local_network_harness.mjs | 9 |
1 files changed, 1 insertions, 8 deletions
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 })); } |