Browse Source

[master] Corrected unit test in dhcp6

The unit test,  Dhcp6SrvD2Test.enableDisable, which was
added with #3222 failed under FreeBSD.  The configuration
string used for test was missing a required parameter.
See Trac #3355 for a related change.
Thomas Markwalder 11 years ago
parent
commit
b847ace0d4
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/bin/dhcp6/tests/d2_unittest.cc

+ 2 - 0
src/bin/dhcp6/tests/d2_unittest.cc

@@ -95,6 +95,8 @@ Dhcp6SrvD2Test::configureD2(bool enable_d2, const bool exp_result,
     std::ostringstream config;
     config <<
         "{ \"interfaces\": [ \"*\" ],"
+        "\"hooks-libraries\": [ ],"
+        "\"preferred-lifetime\": 3000,"
         "\"rebind-timer\": 2000, "
         "\"renew-timer\": 1000, "
         "\"subnet6\": [ { "