Browse Source

[3569_rebase] Removed 2 unit-tests as agreed on jabber.

Tomek Mrugalski 9 years ago
parent
commit
9f94c96152

+ 2 - 18
src/bin/dhcp4/tests/dhcp4_srv_unittest.cc

@@ -2659,23 +2659,7 @@ TEST_F(Dhcpv4SrvTest, statisticsUnknownRcvd) {
     EXPECT_EQ(1, drop_stat->getInteger().first);
 }
 
-#ifdef HAVE_MYSQL
-// Checks if the v4 server can be configured to use MySQL HostDataSource.
-TEST_F(Dhcpv4SrvTest, hostDataSourceMySQL) {
-    IfaceMgrTestConfig test_config(true);
-    IfaceMgr::instance().openSockets4();
-
-    NakedDhcpv4Srv srv(0);
-
-    EXPECT_NO_THROW(configure(CONFIGS[1]));
-
-    HostDataSourcePtr hds;
-    hds = HostMgr::instance().getHostDataSource();
-
-    /// @todo: Uncomment this once #3682 is merged.
-    /// EXPECT_TRUE(hds);
-}
-
-#endif
+/// @todo: Implement proper tests for MySQL lease/host database,
+///        see ticket #4214.
 
 }; // end of anonymous namespace

+ 2 - 15
src/bin/dhcp6/tests/dhcp6_srv_unittest.cc

@@ -2737,20 +2737,7 @@ TEST_F(Dhcpv6SrvTest, receiveParseFailedStat) {
 /// @todo: Add more negative tests for processX(), e.g. extend sanityCheck() test
 /// to call processX() methods.
 
-#ifdef HAVE_MYSQL
-// Checks if the v6 server can be configured to use MySQL HostDataSource.
-TEST_F(Dhcpv6SrvTest, hostDataSourceMySQL) {
-
-    Dhcp6Client client;
-
-    EXPECT_NO_THROW(configure(CONFIGS[1], *client.getServer()));
-
-    HostDataSourcePtr hds;
-    hds = HostMgr::instance().getHostDataSource();
-
-    /// @todo: Uncomment this once #3682 is merged.
-    /// EXPECT_TRUE(hds);
-}
-#endif
+/// @todo: Implement proper tests for MySQL lease/host database,
+///        see ticket #4214.
 
 }   // end of anonymous namespace