From f6df6155c4068be2fbea0a7913ccb712cd7686e5 Mon Sep 17 00:00:00 2001 From: James Robinson Date: Thu, 12 Dec 2024 12:23:30 +0000 Subject: [PATCH] Update integration test to work in dev envs --- integration_test/integration_tests.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/integration_test/integration_tests.py b/integration_test/integration_tests.py index fd95b44..7518fc8 100644 --- a/integration_test/integration_tests.py +++ b/integration_test/integration_tests.py @@ -119,12 +119,12 @@ def get_pdf_for_letter(python_client, id): if exc.message[0]["error"] != "PDFNotReadyError": raise - count += 3 - if count > 45: - print(f"pdf {id} not ready at {datetime.utcnow()} after 45 seconds") # noqa: T201 + count += 5 + if count > 120: + print(f"pdf {id} not ready at {datetime.utcnow()} after 120 seconds") # noqa: T201 raise else: - time.sleep(3) + time.sleep(5) assert type(response) == BytesIO assert len(response.read()) != 0