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

Choose test server port reliably #706

Merged
merged 1 commit into from
Nov 5, 2013

Conversation

akr
Copy link
Contributor

@akr akr commented Nov 5, 2013

I found sometimes test/rubygems/test_gem_remote_fetcher.rb
aborts test when port collide.

I modified test/rubygems/test_gem_remote_fetcher.rb to
specify :Port => 0 for WEBrick::HTTPServer.new and
obtain the port actually bound.

Specify :Port => 0 for WEBrick::HTTPServer.new and
obtain the port actually bound.
drbrain added a commit that referenced this pull request Nov 5, 2013
Choose test server port reliably
@drbrain drbrain merged commit 0d10c3c into rubygems:master Nov 5, 2013
drbrain added a commit that referenced this pull request Nov 5, 2013
drbrain added a commit that referenced this pull request Nov 12, 2013
drbrain added a commit that referenced this pull request Nov 12, 2013
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