From 0a92b59a9526f596de1c94568767de8e23c62ad4 Mon Sep 17 00:00:00 2001 From: woodser <13068859+woodser@users.noreply.github.com> Date: Tue, 11 Nov 2025 21:20:43 -0500 Subject: [PATCH] extend time to wait for peer to observe dispute --- src/HavenoClient.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/HavenoClient.test.ts b/src/HavenoClient.test.ts index 82580c4a..c5b333db 100644 --- a/src/HavenoClient.test.ts +++ b/src/HavenoClient.test.ts @@ -3423,7 +3423,7 @@ async function testOpenDispute(ctxP: Partial) { } // peer sees the dispute - await wait(ctx.maxTimePeerNoticeMs + ctx.maxWalletStartupMs + ctx.walletSyncPeriodMs); + await wait(ctx.maxTimePeerNoticeMs + ctx.maxWalletStartupMs + ctx.walletSyncPeriodMs * 2); // both arbitrator and peer will sync / process const peerDispute = await ctx.getDisputePeer()!.havenod!.getDispute(ctx.offerId!); expect(peerDispute.getTradeId()).toEqual(ctx.offerId); expect(peerDispute.getIsOpener()).toBe(false || ctx.buyerDisputeContext === ctx.sellerDisputeContext); // TODO: both peers think they're the opener if disputes opened at same time since not waiting for ack