]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Sugggestion from @rgacogne: testing the OSLimitError case should not change behaviour 14258/head
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Fri, 31 May 2024 08:45:28 +0000 (10:45 +0200)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Fri, 31 May 2024 08:45:28 +0000 (10:45 +0200)
pdns/recursordist/test-syncres_cc1.cc

index 21273f6e2cf5feff533803315a7ddfff837b3c56..a844564523ffa2f717b5d32385b10a6bd11448e4 100644 (file)
@@ -856,6 +856,7 @@ BOOST_AUTO_TEST_CASE(test_os_limit_errors)
       if (downServers.size() < 3) {
         /* only the last one will answer */
         downServers.insert(address);
+        res->d_usec = g_networkTimeoutMsec * 1000;
         return LWResult::Result::OSLimitError;
       }
       setLWResult(res, 0, true, false, true);