aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSuhas Daftuar <[email protected]>2018-05-09 08:49:23 -0400
committerSuhas Daftuar <[email protected]>2018-05-09 12:32:19 -0400
commit08ebdba82a5a75155234cbe3c6cdf08a2e087c2f (patch)
tree9764ff719866bc9206ad0a0110edeab970debdb7
parentMerge #13185: Bugfix: the end of a reorged chain is invalid when connect fails (diff)
downloaddiscoin-08ebdba82a5a75155234cbe3c6cdf08a2e087c2f.tar.xz
discoin-08ebdba82a5a75155234cbe3c6cdf08a2e087c2f.zip
[qa] Avoid printing to console during cache creation
-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 eac6057de..0353fc071 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 540727dc8..c7710cc89 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