From f2c5678a14684f71fbef319189960081a97dc4f2 Mon Sep 17 00:00:00 2001 From: Otto Date: Wed, 17 Mar 2021 11:01:55 +0100 Subject: [PATCH] Do not log error in unit test, it is expected now --- pdns/recursordist/test-syncres_cc1.cc | 2 ++ 1 file changed, 2 insertions(+) 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() -- 2.47.2