From: Otto Moerbeek Date: Thu, 11 Apr 2019 08:41:32 +0000 (+0200) Subject: Add comment on upper bound X-Git-Tag: dnsdist-1.4.0-alpha2~17^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F7703%2Fhead;p=thirdparty%2Fpdns.git Add comment on upper bound --- diff --git a/pdns/test-distributor_hh.cc b/pdns/test-distributor_hh.cc index 06c74dbffa..9c476b98af 100644 --- a/pdns/test-distributor_hh.cc +++ b/pdns/test-distributor_hh.cc @@ -78,6 +78,7 @@ BOOST_AUTO_TEST_CASE(test_distributor_queue) { BOOST_CHECK_EXCEPTION( { int n; + // bound should be higher than max-queue-length for(n=0; n < 2000; ++n) { auto q = new Question(); q->d_dt.set();