Commit c4b7c85d authored by Mukund Sivaraman's avatar Mukund Sivaraman
Browse files

[2503] Check result of findNSEC3()

parent 0d69a3dd
......@@ -1585,6 +1585,10 @@ TEST_F(InMemoryZoneFinderNSEC3Test, findNSEC3MissingOrigin) {
Name search_name("nonexist.ok.ok.ok.ok.nsec3.tjeb.nl.");
ZoneFinder::FindNSEC3Result find_result(
result.zone_finder->findNSEC3(search_name, true));
// findNSEC3() must have completed (not throw or assert). Because
// the find was recursive, it always must find something and return
// true.
EXPECT_TRUE(find_result.matched);
}
}
Markdown is supported
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