fix: still flaky regtest (#2617)

increase wait
This commit is contained in:
dni ⚡ 2024-07-31 12:05:07 +02:00 committed by GitHub
parent b0a66e8cf5
commit 94caa2e1ba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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():