Commit 4ff5e524 authored by Jelte Jansen's avatar Jelte Jansen
Browse files

[1066] add one test and typo in comment

parent b4ae924f
......@@ -340,7 +340,7 @@ DatabaseClient::Finder::find(const isc::dns::Name& name,
// It contains some RRs, so it exists.
last_known = superdomain.getLabelCount();
// In case we are in GLUE_OK, we want to store the highest
// encounderet RRset.
// encountered RRset.
if (glue_ok && !first_ns && i != remove_labels) {
first_ns = getRRset(superdomain, NULL, false, false,
......@@ -1037,6 +1037,14 @@ TEST_F(DatabaseClientTest, wildcard) {
isc::dns::RRType::A(), isc::dns::RRType::A(),
isc::dns::RRTTL(3600), ZoneFinder::NXRRSET, expected_rdatas_,
// Also make sure that the wildcard doesn't hurt the original data
// below the wildcard
doFindTest(finder, isc::dns::Name(""),
isc::dns::RRType::AAAA(), isc::dns::RRType::AAAA(),
isc::dns::RRTTL(3600), ZoneFinder::SUCCESS,
expected_rdatas_, expected_sig_rdatas_);
// How wildcard go together with delegation
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment