commit 0a439461e9a67e10ca4fa7d86c5da87352c74239
parent fdc7b5827742f6c692d4c8c1431b9042e67b748c
Author: Florian Dold <florian@dold.me>
Date: Thu, 19 Jan 2023 00:04:51 +0100
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.
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
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
@@ -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,