Skip to content

Commit

Permalink
Updated to use 3 threads for test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
mxaddict committed Jun 5, 2019
1 parent 29a3834 commit 961202c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis/test_06_script_b.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ fi

if [ "$RUN_FUNCTIONAL_TESTS" = "true" ]; then
BEGIN_FOLD functional-tests
DOCKER_EXEC LOCAL_NTP=1 ./qa/pull-tester/rpc-tests.py -parallel=1 --coverage --failfast
DOCKER_EXEC LOCAL_NTP=1 ./qa/pull-tester/rpc-tests.py -parallel=3 --coverage --failfast
END_FOLD
fi
3 changes: 1 addition & 2 deletions qa/pull-tester/rpc-tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
import subprocess
import tempfile
import re
import logging

sys.path.append("qa/pull-tester/")
from tests_config import *
Expand Down Expand Up @@ -264,7 +263,7 @@ def runtests():

# Check if we need to quit
if FAILFAST and not passed:
logging.debug("Early exiting after test failure")
print("Early exiting after test failure")
break

results += BOLD[1] + "\n%s | %s | %s s (accumulated)" % ("ALL".ljust(max_len_name), str(all_passed).ljust(6), time_sum) + BOLD[0]
Expand Down

0 comments on commit 961202c

Please sign in to comment.