Skip to content

Commit ffb1376

Browse files
authored
Merge pull request #112 from jonassvalin/master
Increase retry_count for server_running to 10 to account for slower startup times of Wiremock
2 parents 3edc81e + 650c0b8 commit ffb1376

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wiremock/testing/testcontainer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ def copy_mapping_files_to_container(self) -> None:
143143
configs=self.mapping_files, container_dir_path=Path(f"{self.FILES_DIR}")
144144
)
145145

146-
def server_running(self, retry_count: int = 3, retry_delay: int = 1) -> bool:
146+
def server_running(self, retry_count: int = 10, retry_delay: int = 1) -> bool:
147147
"""Pings the __admin/mappings endpoint of the wiremock server running inside the
148148
container as a proxy for checking if the server is up and running.
149149

0 commit comments

Comments
 (0)