From: Chris Hofstaedtler Date: Mon, 8 Jan 2018 14:56:15 +0000 (+0100) Subject: Fix incorrect comment in testcase X-Git-Tag: dnsdist-1.3.0~162^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=564596323f5c600b8d883c61cbdaacd66ff34365;p=pdns Fix incorrect comment in testcase --- diff --git a/pdns/test-dnsdistpacketcache_cc.cc b/pdns/test-dnsdistpacketcache_cc.cc index fd6ba398e..2acc4ba70 100644 --- a/pdns/test-dnsdistpacketcache_cc.cc +++ b/pdns/test-dnsdistpacketcache_cc.cc @@ -144,7 +144,7 @@ BOOST_AUTO_TEST_CASE(test_PacketCacheServFailTTL) { found = PC.get(dq, a.wirelength(), pwR.getHeader()->id, responseBuf, &responseBufSize, &key, 0, true); BOOST_CHECK_EQUAL(found, false); - // Insert with failure-TTL non-zero (-> should not enter cache). + // Insert with failure-TTL non-zero (-> should enter cache). PC.insert(key, a, QType::A, QClass::IN, (const char*) response.data(), responseLen, false, RCode::ServFail, boost::optional(300)); found = PC.get(dq, a.wirelength(), pwR.getHeader()->id, responseBuf, &responseBufSize, &key, 0, true); BOOST_CHECK_EQUAL(found, true);