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
This commit is contained in:
ms 2021-07-29 16:40:02 +02:00
parent 3de34849b8
commit 172044f022
No known key found for this signature in database
GPG Key ID: 8D526861953F4C0F

View File

@ -62,9 +62,11 @@ export async function runTippingTest(t: GlobalTestState) {
}); });
await exchange.runWirewatchOnce(); await exchange.runWirewatchOnce();
await merchant.stop();
// FIXME/WHY? Disabling for now, as start() erases the DB.
/*await merchant.stop();
await merchant.start(); await merchant.start();
await merchant.pingUntilAvailable(); await merchant.pingUntilAvailable();*/
const r = await MerchantPrivateApi.queryTippingReserves(merchant, "default"); const r = await MerchantPrivateApi.queryTippingReserves(merchant, "default");
console.log("tipping reserves:", JSON.stringify(r, undefined, 2)); console.log("tipping reserves:", JSON.stringify(r, undefined, 2));