[qa] Add option --portseed to test_framework

This commit is contained in:
MarcoFalke
2016-05-09 19:55:49 +02:00
parent fa494dec79
commit ccccc591a4
3 changed files with 17 additions and 9 deletions

View File

@ -242,9 +242,10 @@ class RPCTestHandler:
# Add tests
self.num_running += 1
t = self.test_list.pop(0)
port_seed = ["--portseed=%s" % len(self.test_list)]
self.jobs.append((t,
time.time(),
subprocess.Popen((RPC_TESTS_DIR + t).split() + self.flags,
subprocess.Popen((RPC_TESTS_DIR + t).split() + self.flags + port_seed,
universal_newlines=True,
stdout=subprocess.PIPE,
stderr=subprocess.PIPE)))