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:
parent
fdc7b58277
commit
0a439461e9
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user