[qa] Avoid printing to console during cache creation
This commit is contained in:
parent
08c1caf863
commit
08ebdba82a
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue