From: Otto Date: Wed, 17 Mar 2021 10:01:55 +0000 (+0100) Subject: Do not log error in unit test, it is expected now X-Git-Tag: rec-4.5.0-beta1~5^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2c5678a14684f71fbef319189960081a97dc4f2;p=thirdparty%2Fpdns.git Do not log error in unit test, it is expected now --- diff --git a/pdns/recursordist/test-syncres_cc1.cc b/pdns/recursordist/test-syncres_cc1.cc index d7188e5d75..4db3890032 100644 --- a/pdns/recursordist/test-syncres_cc1.cc +++ b/pdns/recursordist/test-syncres_cc1.cc @@ -107,6 +107,8 @@ BOOST_AUTO_TEST_CASE(test_root_not_primed_and_no_response) { std::unique_ptr sr; initSR(sr); + // We expect an error, do not log it + g_log.toConsole(Logger::Critical); std::set downServers; /* we are not primed yet, so SyncRes will have to call primeHints()