From 0a439461e9a67e10ca4fa7d86c5da87352c74239 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Thu, 19 Jan 2023 00:04:51 +0100 Subject: 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. --- packages/taler-harness/src/integrationtests/test-peer-to-peer-pull.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'packages/taler-harness/src/integrationtests') 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, -- cgit v1.2.3