From 564596323f5c600b8d883c61cbdaacd66ff34365 Mon Sep 17 00:00:00 2001 From: Chris Hofstaedtler Date: Mon, 8 Jan 2018 15:56:15 +0100 Subject: [PATCH] Fix incorrect comment in testcase --- pdns/test-dnsdistpacketcache_cc.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.40.0