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> {
await sh(
await runCommand(
this.globalTestState,
`wallet-${this.name}`,
`taler-wallet-cli ${this.timetravelArg ?? ""} --no-throttle --wallet-db ${
this.dbfile
} run-pending`,
"taler-wallet-cli",
[
"--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 wallet.runUntilDone();
});