]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[5369] Fixed comments in new unit tests
authorFrancis Dupont <fdupont@isc.org>
Tue, 3 Oct 2017 15:12:15 +0000 (17:12 +0200)
committerFrancis Dupont <fdupont@isc.org>
Tue, 3 Oct 2017 15:12:15 +0000 (17:12 +0200)
src/bin/dhcp4/tests/fqdn_unittest.cc

index 96989637140af8b57cffb1ea4a72ed48bacfeef9..264ec433b7fb46432de7b7a06911c5a303ba3bf9 100644 (file)
@@ -1107,9 +1107,8 @@ TEST_F(NameDhcpv4SrvTest, processRequestRenewFqdn) {
                             "965B68B6D438D98E680BF10B09F3BCF",
                             time(NULL), subnet_->getValid(), true);
 
-    // Create another Request message but with a different FQDN. Server
-    // should generate two NameChangeRequests: one to remove existing entry,
-    // another one to add new entry with updated domain-name.
+    // Create another Request message with the same FQDN. Server
+    // should generate no NameChangeRequests.
     Pkt4Ptr req2 = generatePktWithFqdn(DHCPREQUEST, Option4ClientFqdn::FLAG_S |
                                        Option4ClientFqdn::FLAG_E,
                                        "myhost.example.com.",
@@ -1149,9 +1148,8 @@ TEST_F(NameDhcpv4SrvTest, processRequestRenewHostname) {
                             "965B68B6D438D98E680BF10B09F3BCF",
                             time(NULL), subnet_->getValid(), true);
 
-    // Create another Request message but with a different Hostname. Server
-    // should generate two NameChangeRequests: one to remove existing entry,
-    // another one to add new entry with updated domain-name.
+    // Create another Request message with the same Hostname. Server
+    // should generate no NameChangeRequests.
     Pkt4Ptr req2 = generatePktWithHostname(DHCPREQUEST, "myhost.example.com.");
 
     // Set interface for the incoming packet. The server requires it to