Browse Source

[qa] pull-tester: Fix assertion and check for run_parallel

tags/v0.15.1
MarcoFalke 5 years ago
parent
commit
fa3b379252
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      qa/pull-tester/rpc-tests.py

+ 2
- 2
qa/pull-tester/rpc-tests.py View File

@@ -191,7 +191,7 @@ def runtests():
if coverage:
flags.append(coverage.flag)

if len(test_list) > 1:
if len(test_list) > 1 and run_parallel > 1:
# Populate cache
subprocess.check_output([RPC_TESTS_DIR + 'create_cache.py'] + flags)

@@ -251,7 +251,7 @@ class RPCTestHandler:
stdout=subprocess.PIPE,
stderr=subprocess.PIPE)))
if not self.jobs:
raise IndexError('%s from empty list' % __name__)
raise IndexError('pop from empty list')
while True:
# Return first proc that finishes
time.sleep(.5)

Loading…
Cancel
Save