summaryrefslogtreecommitdiffstats
path: root/src/lib/dhcpsrv/tests/cfgmgr_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/dhcpsrv/tests/cfgmgr_unittest.cc')
-rw-r--r--src/lib/dhcpsrv/tests/cfgmgr_unittest.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/dhcpsrv/tests/cfgmgr_unittest.cc b/src/lib/dhcpsrv/tests/cfgmgr_unittest.cc
index 44699638f3..e6caa3ae55 100644
--- a/src/lib/dhcpsrv/tests/cfgmgr_unittest.cc
+++ b/src/lib/dhcpsrv/tests/cfgmgr_unittest.cc
@@ -543,6 +543,10 @@ TEST_F(CfgMgrTest, revert) {
// Value of 0 also doesn't make sense.
ASSERT_THROW(cfg_mgr.revert(0), isc::OutOfRange);
+ // Return early because the checks that follow simply are not supported by
+ // CONFIG_LIST_SIZE == 0 at the time of writing.
+ return;
+
// We should be able to revert to configuration with debuglevel = 10.
ASSERT_NO_THROW(cfg_mgr.revert(4));
// And this configuration should be now the current one and the debuglevel