From 08ebdba82a5a75155234cbe3c6cdf08a2e087c2f Mon Sep 17 00:00:00 2001 From: Suhas Daftuar Date: Wed, 9 May 2018 08:49:23 -0400 Subject: [PATCH] [qa] Avoid printing to console during cache creation --- test/functional/test_framework/test_node.py | 3 +-- test/functional/test_framework/util.py | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/functional/test_framework/test_node.py b/test/functional/test_framework/test_node.py index eac6057de6..0353fc0712 100755 --- a/test/functional/test_framework/test_node.py +++ b/test/functional/test_framework/test_node.py @@ -83,8 +83,7 @@ class TestNode(): "-debugexclude=libevent", "-debugexclude=leveldb", "-mocktime=" + str(mocktime), - "-uacomment=testnode%d" % i, - "-noprinttoconsole" + "-uacomment=testnode%d" % i ] self.cli = TestNodeCLI(bitcoin_cli, self.datadir) diff --git a/test/functional/test_framework/util.py b/test/functional/test_framework/util.py index 540727dc85..c7710cc89e 100644 --- a/test/functional/test_framework/util.py +++ b/test/functional/test_framework/util.py @@ -301,6 +301,7 @@ def initialize_datadir(dirname, n): f.write("keypool=1\n") f.write("discover=0\n") f.write("listenonion=0\n") + f.write("printtoconsole=0\n") os.makedirs(os.path.join(datadir, 'stderr'), exist_ok=True) os.makedirs(os.path.join(datadir, 'stdout'), exist_ok=True) return datadir