]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#2474] fixed comments
authorRazvan Becheriu <razvan@isc.org>
Fri, 22 Jul 2022 12:31:19 +0000 (15:31 +0300)
committerRazvan Becheriu <razvan@isc.org>
Fri, 22 Jul 2022 19:05:50 +0000 (22:05 +0300)
src/bin/dhcp4/tests/dhcp4_srv_unittest.cc
src/bin/dhcp6/tests/dhcp6_srv_unittest.cc

index 0497e5edf056a5fc04caf968885041f9ee82ae61..2a81215d96372603fbd04fbfa04598cc99631648 100644 (file)
@@ -2826,13 +2826,13 @@ Dhcpv4SrvTest::loadConfigFile(const string& path) {
     // Close the command socket (if it exists).
     CommandMgr::instance().closeCommandSocket();
 
-    // CommandMgr uses IO service to run asynchronous socket operations.
+    // Reset CommandMgr IO service.
     CommandMgr::instance().setIOService(IOServicePtr());
 
-    // LeaseMgr uses IO service to run asynchronous timers.
+    // Reset LeaseMgr IO service.
     LeaseMgr::setIOService(IOServicePtr());
 
-    // HostMgr uses IO service to run asynchronous timers.
+    // Reset HostMgr IO service.
     HostMgr::setIOService(IOServicePtr());
 }
 
@@ -2918,6 +2918,8 @@ TEST_F(Dhcpv4SrvTest, portsServerPortMultiTHreading) {
     portsServerPort();
 }
 
+/// @brief Check that example files from documentation are valid (can be parsed
+/// and loaded).
 TEST_F(Dhcpv4SrvTest, checkConfigFiles) {
     checkConfigFiles();
 }
index 5c9c3e48c0572ac4475c6070fe5bea53a0d56ee3..3dc887a0c05040bfaedeeacb238d3dc776bd0760 100644 (file)
@@ -210,13 +210,13 @@ Dhcpv6SrvTest::loadConfigFile(const string& path) {
     // Close the command socket (if it exists).
     CommandMgr::instance().closeCommandSocket();
 
-    // CommandMgr uses IO service to run asynchronous socket operations.
+    // Reset CommandMgr IO service.
     CommandMgr::instance().setIOService(IOServicePtr());
 
-    // LeaseMgr uses IO service to run asynchronous timers.
+    // Reset LeaseMgr IO service.
     LeaseMgr::setIOService(IOServicePtr());
 
-    // HostMgr uses IO service to run asynchronous timers.
+    // Reset HostMgr IO service.
     HostMgr::setIOService(IOServicePtr());
 }
 
@@ -3578,6 +3578,8 @@ TEST_F(Dhcpv6SrvTest, calculateTeeTimers) {
     }
 }
 
+/// @brief Check that example files from documentation are valid (can be parsed
+/// and loaded).
 TEST_F(Dhcpv6SrvTest, checkConfigFiles) {
     checkConfigFiles();
 }