From 198282a94774c021e520a3ee9383044e1d8292d9 Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Mon, 11 Sep 2023 12:00:20 +0200 Subject: [PATCH] Apply typo-in-comment fixes from code review Co-authored-by: Remi Gacogne --- pdns/recursordist/test-aggressive_nsec_cc.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pdns/recursordist/test-aggressive_nsec_cc.cc b/pdns/recursordist/test-aggressive_nsec_cc.cc index 54bd7c043b..1809deea23 100644 --- a/pdns/recursordist/test-aggressive_nsec_cc.cc +++ b/pdns/recursordist/test-aggressive_nsec_cc.cc @@ -1208,13 +1208,13 @@ BOOST_AUTO_TEST_CASE(test_aggressive_nsec_pruning) BOOST_CHECK_EQUAL(cache->getEntriesCount(), 3U); /* we have set a upper bound to 2 entries, so we are above, - and one entry are actually expired, so we will prune one entry + and one entry is actually expired, so we will prune one entry to get below the limit */ cache->prune(now.tv_sec + 15); BOOST_CHECK_EQUAL(cache->getEntriesCount(), 2U); - /* now we are at the limit, so we will scan 1/5th of all zones entries, rounded up, - and prune the expired ones, which mean we will also remoing twoe */ + /* now we are at the limit, so we will scan 1/10th of all zones entries, rounded up, + and prune the expired ones, which mean we will also be removing the remaining two */ cache->prune(now.tv_sec + 600); BOOST_CHECK_EQUAL(cache->getEntriesCount(), 0U); } -- 2.47.2