mirror of
https://github.com/haveno-dex/haveno-ts.git
synced 2024-10-01 01:35:42 -04:00
release traders at end of offline dispute test
This commit is contained in:
parent
24f6ce227a
commit
d6438f7895
@ -1826,7 +1826,8 @@ test("Can go offline while resolving a dispute (CI)", async () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// stop and delete traders
|
// stop and delete traders
|
||||||
if (ctx.maker!.havenod) await releaseHavenoProcess(ctx.maker!.havenod!, true);
|
if (ctx.maker && ctx.maker.havenod) await releaseHavenoProcess(ctx.maker!.havenod!, true);
|
||||||
|
if (ctx.taker && ctx.taker.havenod) await releaseHavenoProcess(ctx.taker!.havenod!, true); // closing this client after first induces HttpClientImpl.shutdown() to hang, so this tests timeout handling
|
||||||
if (ctx.sellerAppName) deleteHavenoInstanceByAppName(ctx.sellerAppName!); // seller is offline
|
if (ctx.sellerAppName) deleteHavenoInstanceByAppName(ctx.sellerAppName!); // seller is offline
|
||||||
if (err) throw err;
|
if (err) throw err;
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user