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

Update tokio and re-enable check_site test #915

Merged
merged 1 commit into from Jan 11, 2020

Conversation

samford
Copy link
Contributor

@samford samford commented Jan 8, 2020

The issue with the site component's check_site test timing out (#908) seems to be related to a similar reqwest issue with the blocking client (seanmonstar/reqwest#746). This was ultimately due to an upstream bug in tokio and should be fixed in tokio 0.2.7 onward.

I've updated the tokio dependency to the latest version (0.2.8) and re-enabled the check_site test. I've run the test a number of times locally and haven't seen it time out, whereas before I would have seen the issue at least once by now.

@Keats
Copy link
Collaborator

Keats commented Jan 8, 2020

tokio-rs/tokio#2046 (comment) looks like it can still deadlock?

@samford
Copy link
Contributor Author

samford commented Jan 8, 2020

Hmm, it definitely can't hurt to wait a bit longer and see how that issue plays out (i.e., if another related tokio version is released) but this at least seems to be a promising fix for the check_site issue thus far.

The issue with the check_site test hanging and timing out seems to
be related to a similar reqwest issue, which was ultimately due to
an upstream bug in tokio and may be fixed in tokio 0.2.7 onward.
@samford
Copy link
Contributor Author

samford commented Jan 10, 2020

tokio 0.2.9 has been released and addresses the issue you linked. I updated this PR and tested it locally (upwards of 20 times for this version, probably around 50 times total now) and I still haven't seen the check_site test fail. CI has tested this PR three times (twice on 0.2.8 and once on 0.2.9) and hasn't failed either.

@Keats Keats merged commit 7de2544 into getzola:next Jan 11, 2020
@Keats
Copy link
Collaborator

Keats commented Jan 11, 2020

Very nice, thanks!

@samford samford deleted the check-site-test-fix branch January 11, 2020 16:03
Keats pushed a commit that referenced this pull request Feb 3, 2020
The issue with the check_site test hanging and timing out seems to
be related to a similar reqwest issue, which was ultimately due to
an upstream bug in tokio and may be fixed in tokio 0.2.7 onward.
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.

None yet

2 participants