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