]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#3106] Added test comments
authorMarcin Siodelski <marcin@isc.org>
Wed, 18 Oct 2023 10:12:30 +0000 (12:12 +0200)
committerMarcin Siodelski <marcin@isc.org>
Wed, 29 Nov 2023 19:58:55 +0000 (20:58 +0100)
src/hooks/dhcp/high_availability/tests/ha_config_unittest.cc

index 87de5ac264de1d8dec794dd0b327b9f99a3c88d6..ddc9c15db8b729a96eafa060a112b5aa71d000fc 100644 (file)
@@ -1963,6 +1963,7 @@ TEST_F(HAConfigTest, ipv6Url) {
     EXPECT_EQ(impl->getConfig()->getThisServerConfig()->getUrl().toText(), "http://[2001:db8::1]:8080/");
 }
 
+// Check that hot-standby mode is required for multiple relationships.
 TEST_F(HAConfigTest, hubAndSpokeNotHotStandbyConfig) {
     testInvalidConfig(
         "["
@@ -2002,6 +2003,7 @@ TEST_F(HAConfigTest, hubAndSpokeNotHotStandbyConfig) {
         "multiple HA relationships are only supported for 'hot-standby' mode");
 }
 
+// Check that the server names must be unique between relationships.
 TEST_F(HAConfigTest, hubAndSpokeRepeatingThisServerName) {
     testInvalidConfig(
         "["