testing: delay to allow ingestion

This commit is contained in:
ms 2021-07-30 12:12:26 +02:00
parent a6016952e6
commit f448f94aea
No known key found for this signature in database
GPG Key ID: 8D526861953F4C0F

View File

@ -17,7 +17,7 @@
/**
* Imports.
*/
import { GlobalTestState } from "./harness";
import { GlobalTestState, delayMs } from "./harness";
import {
SandboxUserBundle,
NexusUserBundle,
@ -85,6 +85,7 @@ export async function runLibeufinRefundMultipleUsersTest(t: GlobalTestState) {
libeufinServices.libeufinNexus,
user02nexus.localAccountName,
);
delayMs(2000); // time to ingest.
await LibeufinNexusApi.submitInitiatedPayment(
libeufinServices.libeufinNexus,