more deterministic port selection

This commit is contained in:
paulmueller 2015-05-12 14:48:50 +02:00
parent c00863f39d
commit fd7f190962

View file

@ -725,7 +725,9 @@ def test_digest_rejected():
p_server.join()
def test_exception():
def test_exception():
global PORT
PORT += 1
class MyManager_Client(jobmanager.BaseManager):
pass
@ -760,7 +762,8 @@ def test_exception():
return m
for p_version_server in [2, 3]:
port = np.random.randint(20000, 30000)
PORT += 10
port = PORT
authkey = 'q'
with open("ap_server.out", 'w') as outfile: