aboutsummaryrefslogtreecommitdiff
path: root/qa/pull-tester
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2016-05-09 19:55:49 +0200
committerMarcoFalke <falke.marco@gmail.com>2016-05-09 19:56:24 +0200
commitccccc591a456f9a8fcf5f8e68a5bacdbbaeb0937 (patch)
tree4453a25fb7afb0d124671d58a72416b90ebdcc91 /qa/pull-tester
parentfa494dec79b9d469b7eb38d2f0b8cf9832cdc398 (diff)
[qa] Add option --portseed to test_framework
Diffstat (limited to 'qa/pull-tester')
-rwxr-xr-xqa/pull-tester/rpc-tests.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/qa/pull-tester/rpc-tests.py b/qa/pull-tester/rpc-tests.py
index f926398d58..f810f89a59 100755
--- a/qa/pull-tester/rpc-tests.py
+++ b/qa/pull-tester/rpc-tests.py
@@ -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)))