From 961202cb1ade45742d5f9eb16df10b2d3df41c5c Mon Sep 17 00:00:00 2001 From: Barry Deeney Date: Wed, 5 Jun 2019 22:58:37 +0800 Subject: [PATCH] Updated to use 3 threads for test suite --- .travis/test_06_script_b.sh | 2 +- qa/pull-tester/rpc-tests.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.travis/test_06_script_b.sh b/.travis/test_06_script_b.sh index 939ac2032..5f2b855b5 100755 --- a/.travis/test_06_script_b.sh +++ b/.travis/test_06_script_b.sh @@ -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 diff --git a/qa/pull-tester/rpc-tests.py b/qa/pull-tester/rpc-tests.py index adcc964be..988fa5793 100755 --- a/qa/pull-tester/rpc-tests.py +++ b/qa/pull-tester/rpc-tests.py @@ -28,7 +28,6 @@ import subprocess import tempfile import re -import logging sys.path.append("qa/pull-tester/") from tests_config import * @@ -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]