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.
This commit is contained in:
Florian Dold 2023-01-19 00:04:51 +01:00
parent fdc7b58277
commit 0a439461e9
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B

View File

@ -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,