Skip to content

Commit 196c5a9

Browse files
author
MarcoFalke
committed
Merge #13198: [qa] Avoid printing to console during cache creation
08ebdba [qa] Avoid printing to console during cache creation (Suhas Daftuar) Pull request description: Tree-SHA512: 151b73ab6989a44a5c3d4707ff2f756a360bc507249b645e008e08880ac1c51e83420c1d37b49b6b97089116550023bba64ff1f10437809f1c49980722d563b8
2 parents fc642cb + 08ebdba commit 196c5a9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/functional/test_framework/test_node.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,7 @@ def __init__(self, i, datadir, rpchost, timewait, bitcoind, bitcoin_cli, mocktim
8383
"-debugexclude=libevent",
8484
"-debugexclude=leveldb",
8585
"-mocktime=" + str(mocktime),
86-
"-uacomment=testnode%d" % i,
87-
"-noprinttoconsole"
86+
"-uacomment=testnode%d" % i
8887
]
8988

9089
self.cli = TestNodeCLI(bitcoin_cli, self.datadir)

test/functional/test_framework/util.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,7 @@ def initialize_datadir(dirname, n):
301301
f.write("keypool=1\n")
302302
f.write("discover=0\n")
303303
f.write("listenonion=0\n")
304+
f.write("printtoconsole=0\n")
304305
os.makedirs(os.path.join(datadir, 'stderr'), exist_ok=True)
305306
os.makedirs(os.path.join(datadir, 'stdout'), exist_ok=True)
306307
return datadir

0 commit comments

Comments
 (0)