From a68f06226bea6e71166e9ec6731e45960e6e6433 Mon Sep 17 00:00:00 2001 From: Kittywhiskers Van Gogh <63189531+kittywhiskers@users.noreply.github.com> Date: Fri, 8 Oct 2021 18:21:07 +0530 Subject: [PATCH] partial bitcoin#15352: Reduce noise level in test_bitcoin output --- src/test/test_dash.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/test/test_dash.cpp b/src/test/test_dash.cpp index 4465b411db..5987c588ca 100644 --- a/src/test/test_dash.cpp +++ b/src/test/test_dash.cpp @@ -57,7 +57,11 @@ BasicTestingSetup::BasicTestingSetup(const std::string& chainName) SelectParams(chainName); evoDb.reset(new CEvoDB(1 << 20, true, true)); deterministicMNManager.reset(new CDeterministicMNManager(*evoDb)); - noui_connect(); + static bool noui_connected = false; + if (!noui_connected) { + noui_connect(); + noui_connected = true; + } } BasicTestingSetup::~BasicTestingSetup()