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 Net_HTTP_test #759

Merged
merged 1 commit into from
Aug 21, 2021
Merged

Fix Net_HTTP_test #759

merged 1 commit into from
Aug 21, 2021

Conversation

soutaro
Copy link
Member

@soutaro soutaro commented Aug 21, 2021

Net_HTTP_test accesses an external web server and results in Net::ReadTimeout test failure. The problem is when this happens in CI which makes everything failed.

This PR is to skip the tests on CI.

I know this is not the best solution. The best improvement would be starting a web server locally and test the methods against the local server.

* Skip test on CI
* Assign `$stdout` for `get_print` test
@soutaro soutaro enabled auto-merge August 21, 2021 16:56
@soutaro soutaro merged commit 8da1d7e into master Aug 21, 2021
@soutaro soutaro deleted the skip-net-http-test branch August 21, 2021 17:00
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.

1 participant