mirror of
https://github.com/haveno-dex/haveno-ts.git
synced 2025-07-13 01:59:37 -04:00
expect key image polling within 20s on local
only test 4 trades at a time
This commit is contained in:
parent
0de4ec6fff
commit
5fbeae0a07
1 changed files with 2 additions and 2 deletions
|
@ -1270,7 +1270,7 @@ test("Can complete a trade", async () => {
|
|||
});
|
||||
|
||||
test("Can complete trades at the same time (CI)", async () => {
|
||||
await executeTrades(getTradeContexts(6));
|
||||
await executeTrades(getTradeContexts(4));
|
||||
});
|
||||
|
||||
test("Can complete all trade combinations (stress)", async () => {
|
||||
|
@ -1492,9 +1492,9 @@ test("Invalidates offers when reserved funds are spent (CI)", async () => {
|
|||
|
||||
// mine block so spend is confirmed
|
||||
await mineBlocks(1);
|
||||
await wait(TestConfig.walletSyncPeriodMs * 2);
|
||||
|
||||
// offer is removed from peer offers
|
||||
await wait(20000);
|
||||
if (getOffer(await user2.getOffers(assetCode, "buy"), offer.getId())) throw new Error("Offer " + offer.getId() + " was found in peer's offers after reserved funds spent");
|
||||
|
||||
// offer is removed from my offers
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue