-
Notifications
You must be signed in to change notification settings - Fork 28
Increase retry_count for server_running to 10 to account for slower startup times of Wiremock #112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
@oleg-nenashev Do you have a chance to look at this perhaps? |
Maybe @leeturner ? |
Is this package abandoned? |
I have not been able to reach any of the maintainers unfortunately |
@oleg-nenashev @leeturner any chance of looking at this? |
This looks like a safe workaround until we come up with a better solution. I don't see any potential issues arising from this change. |
@alexjrk thank you! How do we get this merged and released? |
I am happy to merge the PR. Not sure at this point how this gets released as I haven't worked on this componenet before |
I just saw that the master branch is actually used for WireMock v2, so I think we should add WireMock v3-related changes to a separate branch (I noticed we already have one called |
Maybe create a tag on this commit, move all the later commits to the |
I am using python-wiremock in a project I'm working on. When running with docker-desktop it works fine, but when I switch to colima as the host it appears that it takes slightly longer for the Wiremock server to get ready in the container. I'm running on an M2 Mac.
This is the error I get:
If I go in to the
server_running
function in python-wiremock and manually bump up theretry_count
to 10 (as per this PR) then it works fine, on the 4th attempt it successfully connects to wiremock.I think a cleaner solution to my problem would be if we could expose the
retry_count
as configuration, but I don't have the time to contribute such a major change at the moment. This would solve my problem in the short term, at least.References
No relevant references
Submitter checklist
#help-contributing
or a project-specific channel like#wiremock-java