Skip to content
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

Fix nginx race in test harness #44

Merged
merged 1 commit into from
Dec 31, 2024

Conversation

DanGould
Copy link
Collaborator

NGINX was also returning before binding to the port, sometimes leading to port contention with other test services

Fix by waiting for it to connect before attempting to start other services

If start_nginx fails, throw an error. If it succeeds, return the NginxProcess.

re @nothingmuch @ #41 (review)

NGINX was also returning before binding to the port, sometimes leading to
port contention with other test services

Fix by waiting for it to connect before attempting to start other
services

If start_nginx fails, throw an error. If it succeeds, return the
NginxProcess.
@DanGould DanGould merged commit 8e8c147 into payjoin:main Dec 31, 2024
5 checks passed
@DanGould DanGould deleted the return-nginx-process branch December 31, 2024 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants