aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2023-01-19 00:04:51 +0100
committerFlorian Dold <florian@dold.me>2023-01-19 00:05:45 +0100
commit0a439461e9a67e10ca4fa7d86c5da87352c74239 (patch)
tree10a524f0fd00b8a798ddf7598a11aa675d6f2ca7
parentfdc7b5827742f6c692d4c8c1431b9042e67b748c (diff)
harness: hack around test limitation
It's currently not possible to wait until a transaction reaches a certain state, so we simply run all pending operation once so that the pull payment is initiated.
-rw-r--r--packages/taler-harness/src/integrationtests/test-peer-to-peer-pull.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/taler-harness/src/integrationtests/test-peer-to-peer-pull.ts b/packages/taler-harness/src/integrationtests/test-peer-to-peer-pull.ts
index fb4e694c3..af4d4d1d9 100644
--- a/packages/taler-harness/src/integrationtests/test-peer-to-peer-pull.ts
+++ b/packages/taler-harness/src/integrationtests/test-peer-to-peer-pull.ts
@@ -67,7 +67,8 @@ export async function runPeerToPeerPullTest(t: GlobalTestState) {
);
// Wait until the initiation is actually done.
- await wallet1.runUntilDone();
+ // FIXME: Use the daemonized wallet and notifications to know this
+ await wallet1.runPending();
const checkResp = await wallet2.client.call(
WalletApiOperation.CheckPeerPullPayment,