From aa37ef082d0e4aaedeb219d0a3f726da146edba7 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Thu, 19 Dec 2019 21:22:29 +0100 Subject: do normal back-off when reserve isn't ready yet, run retry-loop in integration test --- src/headless/integrationtest.ts | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/headless/integrationtest.ts') diff --git a/src/headless/integrationtest.ts b/src/headless/integrationtest.ts index 7c513e70e..494f7c024 100644 --- a/src/headless/integrationtest.ts +++ b/src/headless/integrationtest.ts @@ -40,6 +40,11 @@ export async function runIntegrationTest(args: { const myWallet = await getDefaultNodeWallet({ httpLib: myHttpLib }); + + myWallet.runRetryLoop().catch((e) => { + console.error("exception during retry loop:", e); + }); + logger.info("withdrawing test balance"); await withdrawTestBalance(myWallet, args.amountToWithdraw, args.bankBaseUrl, args.exchangeBaseUrl); logger.info("done withdrawing test balance"); -- cgit v1.2.3