From: Otto Moerbeek Date: Fri, 31 May 2024 08:45:28 +0000 (+0200) Subject: Sugggestion from @rgacogne: testing the OSLimitError case should not change behaviour X-Git-Tag: rec-5.1.0-beta1~13^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=11a17ea54c0e0b8ce020ab16512134a84b75fa9b;p=thirdparty%2Fpdns.git Sugggestion from @rgacogne: testing the OSLimitError case should not change behaviour --- 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);