Skip to content

Fixed cibuild: poll for started webserver instead of fixed sleep #928

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

Merged
merged 1 commit into from
Jan 20, 2021

Conversation

bart-degreed
Copy link
Contributor

@bart-degreed bart-degreed commented Jan 20, 2021

The cibuild was failing on documentation example generation. We had a fixed sleep of 10 seconds after starting the webserver, which turned out to be insufficient.

Switched to polling with 1 second interval for webserver to become online.
Also changed to run this during PR build (without push), so we'll know in advance if docs generation breaks.
Fixed invalid port number on mac/linux builds.

@bart-degreed bart-degreed marked this pull request as draft January 20, 2021 11:02
@bart-degreed bart-degreed force-pushed the analyze-cibuild-errors branch 2 times, most recently from 7b326a5 to 50df545 Compare January 20, 2021 11:43
@bart-degreed bart-degreed changed the title Add verbose logging cibuild: poll for started webserver instead of fixed sleep Jan 20, 2021
… fixed sleep of 10 seconds after starting the webserver, which turned out to be insufficient.

Switched to polling with 1 second interval for webserver to become online.
Also changed to run this during PR build (without push), so we'll know in advance if docs generation breaks.
Fixed invalid port number on mac/linux builds.
@bart-degreed bart-degreed force-pushed the analyze-cibuild-errors branch from 50df545 to 0074423 Compare January 20, 2021 11:48
@bart-degreed bart-degreed changed the title cibuild: poll for started webserver instead of fixed sleep Fixed cibuild: poll for started webserver instead of fixed sleep Jan 20, 2021
@bart-degreed bart-degreed marked this pull request as ready for review January 20, 2021 11:54
@bart-degreed bart-degreed requested a review from maurei January 20, 2021 11:54
@bart-degreed bart-degreed merged commit 816c58a into master Jan 20, 2021
@bart-degreed bart-degreed deleted the analyze-cibuild-errors branch January 20, 2021 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants