run until done at end of test

This commit is contained in:
Florian Dold 2020-12-02 17:05:28 +01:00
parent 89f1a281fe
commit 92885fa155
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B
2 changed files with 11 additions and 4 deletions

View File

@ -1515,12 +1515,17 @@ export class WalletCli {
} }
async runPending(): Promise<void> { async runPending(): Promise<void> {
await sh( await runCommand(
this.globalTestState, this.globalTestState,
`wallet-${this.name}`, `wallet-${this.name}`,
`taler-wallet-cli ${this.timetravelArg ?? ""} --no-throttle --wallet-db ${ "taler-wallet-cli",
this.dbfile [
} run-pending`, "--no-throttle",
...this.timetravelArgArr,
"--wallet-db",
this.dbfile,
"run-pending",
],
); );
} }

View File

@ -48,4 +48,6 @@ runTest(async (t: GlobalTestState) => {
}; };
await makeTestPayment(t, { wallet, merchant, order }); await makeTestPayment(t, { wallet, merchant, order });
await wallet.runUntilDone();
}); });