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

[2504] Check result of find()

parent 06eeaf02
......@@ -1446,6 +1446,9 @@ TEST_F(InMemoryZoneFinderTest, NSECNonExistentTest) {
ZoneFinderContextPtr find_result(
result.zone_finder->find(search_name,
RRType::A(), ZoneFinder::FIND_DNSSEC));
// We don't find the domain, but find() must complete (not throw or
// assert).
EXPECT_EQ(ZoneFinder::NXDOMAIN, find_result->code);
}
/// \brief NSEC3 specific tests fixture for the InMemoryZoneFinder class
......
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