diff options
author | ms <ms@taler.net> | 2021-07-29 16:40:02 +0200 |
---|---|---|
committer | ms <ms@taler.net> | 2021-07-29 16:40:02 +0200 |
commit | 172044f022b37f0c67eed49eea69d4f84113dec2 (patch) | |
tree | 183fe48ae0a5b5f4c4b73285238be03fc871419a | |
parent | 3de34849b88910f38238f491a2aeaf363dc51bf9 (diff) |
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
-rw-r--r-- | packages/taler-wallet-cli/src/integrationtests/test-tipping.ts | 6 |
1 files 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 index 02439616a..7675db119 100644 --- 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)); |