From: Francis Dupont Date: Sat, 31 Dec 2016 00:37:21 +0000 (+0100) Subject: [5095] Re-enabled tests X-Git-Tag: trac3590_base~15^2~7 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d78ee9cd8ad88eb3e1664f6502cbe90ce1d52bdd;p=thirdparty%2Fkea.git [5095] Re-enabled tests --- diff --git a/src/bin/dhcp4/tests/hooks_unittest.cc b/src/bin/dhcp4/tests/hooks_unittest.cc index 5bc82805fd..b57ba29740 100644 --- a/src/bin/dhcp4/tests/hooks_unittest.cc +++ b/src/bin/dhcp4/tests/hooks_unittest.cc @@ -1603,13 +1603,7 @@ TEST_F(HooksDhcpv4SrvTest, lease4ReleaseSkip) { } // Checks that decline4 hooks (lease4_decline) are triggered properly. -/// @todo: There is a bug in HooksManager that causes the callouts installed -/// using preCalloutsLibraryHandle() to be uninstalled when loadLibrary -/// is called. This has changed recently (ticket #5031) as it calls the -/// load/unload every time, regardless if the hooks-libraries clause is in the -/// config file or not. #5095 has been submitted for this issue. Please -/// enable this test once #5095 is fixed. -TEST_F(HooksDhcpv4SrvTest, DISABLED_HooksDecline) { +TEST_F(HooksDhcpv4SrvTest, HooksDecline) { IfaceMgrTestConfig test_config(true); IfaceMgr::instance().openSockets4(); @@ -1655,9 +1649,7 @@ TEST_F(HooksDhcpv4SrvTest, DISABLED_HooksDecline) { } // Checks that decline4 hook is able to drop the packet. -/// @todo See HooksDhcpv4SrvTest.HooksDecline description for details. -/// Please reenable this once #5095 is fixed. -TEST_F(HooksDhcpv4SrvTest, DISABLED_HooksDeclineDrop) { +TEST_F(HooksDhcpv4SrvTest, HooksDeclineDrop) { IfaceMgrTestConfig test_config(true); IfaceMgr::instance().openSockets4(); diff --git a/src/bin/dhcp6/tests/hooks_unittest.cc b/src/bin/dhcp6/tests/hooks_unittest.cc index 131af1fb65..975fd797fc 100644 --- a/src/bin/dhcp6/tests/hooks_unittest.cc +++ b/src/bin/dhcp6/tests/hooks_unittest.cc @@ -2079,8 +2079,7 @@ TEST_F(HooksDhcpv6SrvTest, skipLease6Rebind) { // This test checks that the basic decline hook (lease6_decline) is // triggered properly. -/// @todo: Reenable this once #5095 is fixed. -TEST_F(HooksDhcpv6SrvTest, DISABLED_basicLease6Decline) { +TEST_F(HooksDhcpv6SrvTest, basicLease6Decline) { IfaceMgrTestConfig test_config(true); // Install lease6_decline callout @@ -2172,8 +2171,7 @@ TEST_F(HooksDhcpv6SrvTest, DISABLED_lease6DeclineSkip) { } // Test that the lease6_decline hook point can handle DROP status. -/// @todo: Reenable this once #5095 is fixed. -TEST_F(HooksDhcpv6SrvTest, DISABLED_lease6DeclineDrop) { +TEST_F(HooksDhcpv6SrvTest, lease6DeclineDrop) { IfaceMgrTestConfig test_config(true); // Install lease6_decline callout. It will set the status to skip