Browse Source

[master] fix for #3530 (unit-test fail in ConfigurationTest.summaryDDNS)

Tomek Mrugalski 10 years ago
parent
commit
8093112f89
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/lib/dhcpsrv/tests/configuration_unittest.cc

+ 4 - 0
src/lib/dhcpsrv/tests/configuration_unittest.cc

@@ -41,6 +41,10 @@ public:
     ConfigurationTest() {
         // Remove any subnets dangling from previous unit tests.
         clearSubnets();
+
+        // Disable DDNS.
+        enableDDNS(false);
+
         // Create IPv4 subnets.
         for (int i = 0; i < TEST_SUBNETS_NUM; ++i) {
             // Default triplet carried undefined value.