Commit c7559d5d authored by Thomas Markwalder's avatar Thomas Markwalder

[5378] Fixed failing unparse test

tests/srv_config_unittest.cc
    TEST_F(SrvConfigTest, unparseHR) - added init of CfgMgr
    instance family.  Test was failing when run with other
    tests.
parent ef1c0b74
......@@ -561,6 +561,7 @@ TEST_F(SrvConfigTest, unparse) {
// Verifies that the toElement method does not miss host reservations
TEST_F(SrvConfigTest, unparseHR) {
// DHCPv4 version
CfgMgr::instance().setFamily(AF_INET);
SrvConfig conf4(32);
// Add a plain subnet
......
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