diff options
author | Florian Dold <florian@dold.me> | 2020-12-02 17:05:28 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2020-12-02 17:05:28 +0100 |
commit | 92885fa155a1c840be9ea897257ca9cbaee8d38f (patch) | |
tree | 5d82b0bddbebe7984e2f9b8d9d84f6204a8115b9 /packages/taler-integrationtests | |
parent | 89f1a281fea66b986fc0a003dc10446f6ed6e4a2 (diff) |
run until done at end of test
Diffstat (limited to 'packages/taler-integrationtests')
-rw-r--r-- | packages/taler-integrationtests/src/harness.ts | 13 | ||||
-rw-r--r-- | packages/taler-integrationtests/src/test-payment.ts | 2 |
2 files changed, 11 insertions, 4 deletions
diff --git a/packages/taler-integrationtests/src/harness.ts b/packages/taler-integrationtests/src/harness.ts index a08a8a027..2ac4c3d0e 100644 --- a/packages/taler-integrationtests/src/harness.ts +++ b/packages/taler-integrationtests/src/harness.ts @@ -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", + ], ); } diff --git a/packages/taler-integrationtests/src/test-payment.ts b/packages/taler-integrationtests/src/test-payment.ts index c82770d76..8a1240dab 100644 --- a/packages/taler-integrationtests/src/test-payment.ts +++ b/packages/taler-integrationtests/src/test-payment.ts @@ -48,4 +48,6 @@ runTest(async (t: GlobalTestState) => { }; await makeTestPayment(t, { wallet, merchant, order }); + + await wallet.runUntilDone(); }); |