From 356687b7174393c5d524bdfa39dd5ffff099f9af Mon Sep 17 00:00:00 2001 From: soul Date: Mon, 9 Nov 2026 22:01:25 +0000 Subject: [PATCH] cultmesh-ts test: result window outlasts the transport ack in the RUDP catalog publish test The put's flush is bounded by the result window, so a 25 ms flush and 100 ms window made a slow ack on a loaded forge runner surface as local_send_failed instead of the window_elapsed the test checks. Drop the flush override and give the window room. Co-Authored-By: Claude Sonnet 5.5 --- packages/cultmesh-ts/test/cultmesh.test.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/cultmesh-ts/test/cultmesh.test.ts b/packages/cultmesh-ts/test/cultmesh.test.ts index 68429969..10de21b9 100644 --- a/packages/cultmesh-ts/test/cultmesh.test.ts +++ b/packages/cultmesh-ts/test/cultmesh.test.ts @@ -2986,8 +2986,9 @@ test("CultMesh TS publishes one registered document to a RUDP catalog", async () maxFragmentBytes: 1024, maxPendingReliablePackets: 16, connectTimeoutMs: 1_000, - flushTimeoutMs: 25, - resultWindowMs: 100, + // The flush is bounded by the result window, so the window must outlast the transport ack on a loaded + // runner: a short one turns a slow ack into local_send_failed, which is not the path this test checks. + resultWindowMs: 750, sourceRole: "test-provider", }, ),