Skip to content

Commit a4272b9

Browse files
authored
Merge pull request #17252 from Habbie/200-entries-should-be-enough-for-anybody
rec aggressive nsec test: increase entry count so we hit the 8192 byte limit on 32 bit systems too
2 parents ebcd254 + 7b77faf commit a4272b9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pdns/recursordist/test-aggressive_nsec_cc.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1143,7 +1143,7 @@ BOOST_AUTO_TEST_CASE(test_aggressive_nsec_very_big_replace)
11431143
rec.d_ttl = now.tv_sec + 10;
11441144
rec.setContent(getRecordContent(QType::NSEC3, "1 0 500 ab HASG==== A RRSIG NSEC3"));
11451145
std::vector<std::shared_ptr<const RRSIGRecordContent>> sigs;
1146-
for (auto i = 0; i < 100; i++) {
1146+
for (auto i = 0; i < 200; i++) {
11471147
auto rrsig = std::make_shared<RRSIGRecordContent>("NSEC3 5 3 10 20370101000000 20370101000000 24567 dummy. data");
11481148
sigs.emplace_back(std::move(rrsig));
11491149
}

0 commit comments

Comments
 (0)