[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-wallet-core] 02/03: run until done at end of test
From: |
gnunet |
Subject: |
[taler-wallet-core] 02/03: run until done at end of test |
Date: |
Wed, 02 Dec 2020 21:56:24 +0100 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository wallet-core.
commit 92885fa155a1c840be9ea897257ca9cbaee8d38f
Author: Florian Dold <florian@dold.me>
AuthorDate: Wed Dec 2 17:05:28 2020 +0100
run until done at end of test
---
packages/taler-integrationtests/src/harness.ts | 13 +++++++++----
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 a08a8a02..2ac4c3d0 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 c82770d7..8a1240da 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();
});
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.