]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Do not log error in unit test, it is expected now
authorOtto <otto.moerbeek@open-xchange.com>
Wed, 17 Mar 2021 10:01:55 +0000 (11:01 +0100)
committerOtto <otto.moerbeek@open-xchange.com>
Wed, 17 Mar 2021 10:01:55 +0000 (11:01 +0100)
pdns/recursordist/test-syncres_cc1.cc

index d7188e5d753144debee3c562705aa1b303e80c6e..4db3890032dbb8fd0293f541bd6b7368f6f1b5d4 100644 (file)
@@ -107,6 +107,8 @@ BOOST_AUTO_TEST_CASE(test_root_not_primed_and_no_response)
 {
   std::unique_ptr<SyncRes> sr;
   initSR(sr);
+  // We expect an error, do not log it
+  g_log.toConsole(Logger::Critical);
   std::set<ComboAddress> downServers;
 
   /* we are not primed yet, so SyncRes will have to call primeHints()