aboutsummaryrefslogtreecommitdiff
path: root/test/functional
diff options
context:
space:
mode:
authorSuhas Daftuar <sdaftuar@gmail.com>2018-05-09 08:49:23 -0400
committerSuhas Daftuar <sdaftuar@gmail.com>2018-05-09 12:32:19 -0400
commit08ebdba82a5a75155234cbe3c6cdf08a2e087c2f (patch)
tree9764ff719866bc9206ad0a0110edeab970debdb7 /test/functional
parent08c1caf863656e8c4302f0ff392772f0055760e5 (diff)
[qa] Avoid printing to console during cache creation
Diffstat (limited to 'test/functional')
-rwxr-xr-xtest/functional/test_framework/test_node.py3
-rw-r--r--test/functional/test_framework/util.py1
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