Skip to content

Commit

Permalink
[qa] pull-tester: Fix assertion and check for run_parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoFalke committed Jun 17, 2016
1 parent fa32465 commit fa3b379
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qa/pull-tester/rpc-tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down Expand Up @@ -251,7 +251,7 @@ def get_next(self):
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)
Expand Down

0 comments on commit fa3b379

Please sign in to comment.