summaryrefslogtreecommitdiff
path: root/src/headless
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2019-12-19 21:22:29 +0100
committerFlorian Dold <florian.dold@gmail.com>2019-12-19 21:22:29 +0100
commitaa37ef082d0e4aaedeb219d0a3f726da146edba7 (patch)
tree2d5ebc419cf9e261cfa025340ca01f37d568fdc1 /src/headless
parent0c9358c1b2bd80e25940022e86bd8daef8184ad7 (diff)
downloadwallet-core-aa37ef082d0e4aaedeb219d0a3f726da146edba7.tar.gz
wallet-core-aa37ef082d0e4aaedeb219d0a3f726da146edba7.tar.bz2
wallet-core-aa37ef082d0e4aaedeb219d0a3f726da146edba7.zip
do normal back-off when reserve isn't ready yet, run retry-loop in integration test
Diffstat (limited to 'src/headless')
-rw-r--r--src/headless/integrationtest.ts5
1 files changed, 5 insertions, 0 deletions
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");