diff options
author | MarcoFalke <falke.marco@gmail.com> | 2016-05-09 19:55:49 +0200 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2016-05-09 19:56:24 +0200 |
commit | ccccc591a456f9a8fcf5f8e68a5bacdbbaeb0937 (patch) | |
tree | 4453a25fb7afb0d124671d58a72416b90ebdcc91 /qa/pull-tester | |
parent | fa494dec79b9d469b7eb38d2f0b8cf9832cdc398 (diff) |
[qa] Add option --portseed to test_framework
Diffstat (limited to 'qa/pull-tester')
-rwxr-xr-x | qa/pull-tester/rpc-tests.py | 3 |
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))) |