[rubygems/rubygems] We don't use process_based_port and self.process_based_port
https://github.com/rubygems/rubygems/commit/f1a20c4c69
This commit is contained in:
parent
6d0caac425
commit
7f9a5a7562
@ -1185,22 +1185,6 @@ Also, a list:
|
||||
rescue Errno::ECHILD
|
||||
end
|
||||
|
||||
##
|
||||
# Allows tests to use a random (but controlled) port number instead of
|
||||
# a hardcoded one. This helps CI tools when running parallels builds on
|
||||
# the same builder slave.
|
||||
|
||||
def self.process_based_port
|
||||
@@process_based_port ||= 8000 + $$ % 1000
|
||||
end
|
||||
|
||||
##
|
||||
# See ::process_based_port
|
||||
|
||||
def process_based_port
|
||||
self.class.process_based_port
|
||||
end
|
||||
|
||||
##
|
||||
# Allows the proper version of +rake+ to be used for the test.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user