Commit 9f94c961 authored by Tomek Mrugalski's avatar Tomek Mrugalski 🛰
Browse files

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

parent 570d8e79
......@@ -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
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment