simplify port generation

This commit is contained in:
Konstantin Haase 2011-10-31 16:19:22 -07:00
parent d9ec3c6960
commit 9a4e4d45f4
1 changed files with 1 additions and 4 deletions

View File

@ -9,10 +9,7 @@ class IntegrationTest < Test::Unit::TestCase
end
def port
min = 49152
max = 65535
mod = max - min
(Process.pid % mod) + min
5000 + (Process.pid % 1000)
end
def command