# File lib/rubygems/test_case.rb, line 773
  def self.process_based_port
    @@process_based_port ||= 8000 + $$ % 1000
  end