[qa] Avoid printing to console during cache creation

This commit is contained in:
Suhas Daftuar committed 2018-05-09 12:32:19 -04:00
1 parent 08c1caf863
commit 08ebdba82a
2 files changed
+2 -2

No files matched your search

+1 -2
View File
@@ -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)
+1
View File
@@ -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