diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-04-05 10:54:36 +0900 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2023-04-05 05:49:26 +0000 |
commit | 7f9a5a7562e25ee18d167d72a62826ee5ae1e726 (patch) | |
tree | 9290fa3ced77c11941cf75fafddd664a56f172dd /test/rubygems/helper.rb | |
parent | 6d0caac4253acbb80fe6531c50d9f3520d2a4664 (diff) | |
download | ruby-7f9a5a7562e25ee18d167d72a62826ee5ae1e726.tar.gz |
[rubygems/rubygems] We don't use process_based_port and self.process_based_port
https://github.com/rubygems/rubygems/commit/f1a20c4c69
Diffstat (limited to 'test/rubygems/helper.rb')
-rw-r--r-- | test/rubygems/helper.rb | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/test/rubygems/helper.rb b/test/rubygems/helper.rb index 49d5568421..7a0853eae6 100644 --- a/test/rubygems/helper.rb +++ b/test/rubygems/helper.rb @@ -1186,22 +1186,6 @@ Also, a list: 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. def build_rake_in(good=true) |