]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[1570] updated test comments for clarification.
authorJINMEI Tatuya <jinmei@isc.org>
Wed, 8 Feb 2012 18:01:13 +0000 (10:01 -0800)
committerJINMEI Tatuya <jinmei@isc.org>
Wed, 8 Feb 2012 18:01:13 +0000 (10:01 -0800)
src/bin/auth/tests/query_unittest.cc

index 87017673ea80c7b2cb7d162344256fbf5e4735ba..8a3374304e512d018c4501f1feb8a60b87553d8d 100644 (file)
@@ -1804,11 +1804,13 @@ TEST_F(QueryTest, dsAtGrandParent) {
                   ns_addrs_and_sig_txt.c_str());
 }
 
-// DS query for a "grandchild" zone, and the server has authority of the
-// child zone, too.  In this case the query should be handled in the child
-// side and should result in no data with SOA.
+// DS query sent to a "grandparent" server that also has authority for the
+// child zone.  In this case the query should be handled in the child
+// side and should result in no data with SOA.  Note that the server doesn't
+// have authority for the "parent".  Unlike the dsAboveDelegation test case
+// the query should be handled in the child zone, not in the grandparent.
 TEST_F(QueryTest, dsAtGrandParentAndChild) {
-    // Pretending to have authority for the grandchild zone, too.
+    // Pretending to have authority for the child zone, too.
     const Name childname("grand.delegation.example.com");
     memory_client.addZone(ZoneFinderPtr(
                               new AlternateZoneFinder(childname)));