@@ -23,9 +23,13 @@ import { defineConfig } from 'vitest/config'
2323 * before they dial. A test that says nothing about the deadline is no longer
2424 * making a silent bet on how fast the runner is.
2525 *
26- * The pairing deadline stays short and stays the looser of the two, because the
27- * tests that must *not* hit it run a whole HTTP request through a WebSocket
28- * round trip first.
26+ * The pairing deadline is bound long by the same rule, and it earned its
27+ * place the same way the handshake deadline did. It used to stay short —
28+ * 250 ms, on the reasoning that the tests that must not hit it run a whole
29+ * HTTP request through a WebSocket round trip first — and a loaded CI
30+ * runner eventually stalled past that: four pair tests 504ed in one run,
31+ * none reproducible locally. The one test about the timeout binds its own
32+ * short deadline with `pairTimeout()` before it dials.
2933 *
3034 * CLIENT_IDLE_TIMEOUT_MS is bound the same way and for the same reason: a test
3135 * client sends when its test needs it to and is otherwise silent — it sends no
@@ -41,7 +45,7 @@ export default defineConfig({
4145 bindings : {
4246 HANDSHAKE_TIMEOUT_MS : 600_000 ,
4347 CLIENT_IDLE_TIMEOUT_MS : 600_000 ,
44- PAIR_TIMEOUT_MS : 250 ,
48+ PAIR_TIMEOUT_MS : 600_000 ,
4549 // The directory's entry cap, bound small for the same reason the
4650 // deadlines above are bound at all: the only way to test a cap is to
4751 // reach it, and reaching the production 512 is 512 sequential round
0 commit comments