From 11a17ea54c0e0b8ce020ab16512134a84b75fa9b Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Fri, 31 May 2024 10:45:28 +0200 Subject: [PATCH] Sugggestion from @rgacogne: testing the OSLimitError case should not change behaviour --- pdns/recursordist/test-syncres_cc1.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/pdns/recursordist/test-syncres_cc1.cc b/pdns/recursordist/test-syncres_cc1.cc index 21273f6e2c..a844564523 100644 --- a/pdns/recursordist/test-syncres_cc1.cc +++ b/pdns/recursordist/test-syncres_cc1.cc @@ -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); -- 2.47.2