From 650c0b83d6ee1cbd1b2672da6fe65dd5ac9c8abf Mon Sep 17 00:00:00 2001 From: jonassvalin Date: Tue, 7 Jan 2025 16:22:50 +0100 Subject: [PATCH] Increase retry_count for server_running to 10 --- wiremock/testing/testcontainer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wiremock/testing/testcontainer.py b/wiremock/testing/testcontainer.py index 518113f..b9580a1 100644 --- a/wiremock/testing/testcontainer.py +++ b/wiremock/testing/testcontainer.py @@ -143,7 +143,7 @@ def copy_mapping_files_to_container(self) -> None: configs=self.mapping_files, container_dir_path=Path(f"{self.FILES_DIR}") ) - def server_running(self, retry_count: int = 3, retry_delay: int = 1) -> bool: + def server_running(self, retry_count: int = 10, retry_delay: int = 1) -> bool: """Pings the __admin/mappings endpoint of the wiremock server running inside the container as a proxy for checking if the server is up and running.