mirror of
https://github.com/haveno-dex/haveno-ts.git
synced 2025-11-30 11:06:48 -05:00
extend time to wait for peer to observe dispute
This commit is contained in:
parent
c70748bbad
commit
0a92b59a95
1 changed files with 1 additions and 1 deletions
|
|
@ -3423,7 +3423,7 @@ async function testOpenDispute(ctxP: Partial<TradeContext>) {
|
|||
}
|
||||
|
||||
// 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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue