aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2018-06-07 11:30:58 -0400
committerMarcoFalke <falke.marco@gmail.com>2018-06-08 13:31:27 -0400
commitfa6edfef358518022ee86c0abc77c1c068f106a3 (patch)
treea5e582d0890a964a815b1c3da25217eeac27dad1 /test
parentf8bcef38fb9be48f0f5908a6c4c0cbe8c5a729d6 (diff)
qa: Remove portseed_offset from test runner
Diffstat (limited to 'test')
-rwxr-xr-xtest/functional/test_runner.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/test/functional/test_runner.py b/test/functional/test_runner.py
index 65e4c0817e..5b3a4df0f9 100755
--- a/test/functional/test_runner.py
+++ b/test/functional/test_runner.py
@@ -419,10 +419,6 @@ class TestHandler:
self.test_list = test_list
self.flags = flags
self.num_running = 0
- # In case there is a graveyard of zombie bitcoinds, we can apply a
- # pseudorandom offset to hopefully jump over them.
- # (625 is PORT_RANGE/MAX_NODES)
- self.portseed_offset = int(time.time() * 1000) % 625
self.jobs = []
def get_next(self):
@@ -430,7 +426,7 @@ class TestHandler:
# Add tests
self.num_running += 1
test = self.test_list.pop(0)
- portseed = len(self.test_list) + self.portseed_offset
+ portseed = len(self.test_list)
portseed_arg = ["--portseed={}".format(portseed)]
log_stdout = tempfile.SpooledTemporaryFile(max_size=2**16)
log_stderr = tempfile.SpooledTemporaryFile(max_size=2**16)