diff --git a/tests/regtest/test_real_invoice.py b/tests/regtest/test_real_invoice.py index 1980b7799..f537f1caf 100644 --- a/tests/regtest/test_real_invoice.py +++ b/tests/regtest/test_real_invoice.py @@ -83,7 +83,7 @@ async def test_create_real_invoice(client, adminkey_headers_from, inkey_headers_ async for checking_id in get_funding_source().paid_invoices_stream(): if checking_id == invoice["checking_id"]: # wait for the backend to update the payment status - await asyncio.sleep(1) + await asyncio.sleep(3) return checking_id async def pay(): @@ -302,7 +302,7 @@ async def test_receive_real_invoice_set_pending_and_check_state( async for checking_id in get_funding_source().paid_invoices_stream(): if checking_id == invoice["checking_id"]: # wait for the backend to update the payment status - await asyncio.sleep(1) + await asyncio.sleep(3) return checking_id async def pay():