commit 172044f022b37f0c67eed49eea69d4f84113dec2
parent 3de34849b88910f38238f491a2aeaf363dc51bf9
Author: ms <ms@taler.net>
Date: Thu, 29 Jul 2021 16:40:02 +0200
Fix tipping test.
This test case used to stop+start the merchant along the
run. This made the DB erased, and got the tip reserve information
lost. stop+start is now commented out
Diffstat:
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/packages/taler-wallet-cli/src/integrationtests/test-tipping.ts b/packages/taler-wallet-cli/src/integrationtests/test-tipping.ts
@@ -62,9 +62,11 @@ export async function runTippingTest(t: GlobalTestState) {
});
await exchange.runWirewatchOnce();
- await merchant.stop();
+
+ // FIXME/WHY? Disabling for now, as start() erases the DB.
+ /*await merchant.stop();
await merchant.start();
- await merchant.pingUntilAvailable();
+ await merchant.pingUntilAvailable();*/
const r = await MerchantPrivateApi.queryTippingReserves(merchant, "default");
console.log("tipping reserves:", JSON.stringify(r, undefined, 2));