Browse Source

[3696] Updated test comments as a result of review.

Marcin Siodelski 9 years ago
parent
commit
4cf0f82254

+ 1 - 4
src/bin/dhcp4/tests/kea_controller_unittest.cc

@@ -518,9 +518,6 @@ void
 JSONFileBackendMySQLTest::
 testBackendReconfiguration(const std::string& backend_first,
                            const std::string& backend_second) {
-    // This is basic server configuration which excludes lease database
-    // backend specification. The default Memfile backend should be
-    // initialized in this case.
     writeFile(createConfiguration(backend_first));
 
     // Create an instance of the server and intialize it.
@@ -535,7 +532,7 @@ testBackendReconfiguration(const std::string& backend_first,
     EXPECT_EQ(backend_first.empty() ? "memfile" : backend_first,
               LeaseMgrFactory::instance().getType());
 
-    // New configuration modifies the lease database backend type to MYSQL.
+    // New configuration modifies the lease database backend type.
     writeFile(createConfiguration(backend_second));
 
     // Explicitly calling signal handler for SIGHUP to trigger server

+ 1 - 4
src/bin/dhcp6/tests/kea_controller_unittest.cc

@@ -501,9 +501,6 @@ void
 JSONFileBackendMySQLTest::
 testBackendReconfiguration(const std::string& backend_first,
                            const std::string& backend_second) {
-    // This is basic server configuration which excludes lease database
-    // backend specification. The default Memfile backend should be
-    // initialized in this case.
     writeFile(TEST_FILE, createConfiguration(backend_first));
 
     // Create an instance of the server and intialize it.
@@ -518,7 +515,7 @@ testBackendReconfiguration(const std::string& backend_first,
     EXPECT_EQ(backend_first.empty() ? "memfile" : backend_first,
               LeaseMgrFactory::instance().getType());
 
-    // New configuration modifies the lease database backend type to MYSQL.
+    // New configuration modifies the lease database backend type.
     writeFile(TEST_FILE, createConfiguration(backend_second));
 
     // Explicitly calling signal handler for SIGHUP to trigger server