From: Francis Dupont Date: Tue, 18 Jun 2019 19:32:17 +0000 (+0200) Subject: [295-min-max-lease-time-configuration-options] Regen get_config_unittest.cc X-Git-Tag: Kea-1.6.0-beta2~236 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cba7cd443a27a0a6a0f1ec231330e9121ffd3894;p=thirdparty%2Fkea.git [295-min-max-lease-time-configuration-options] Regen get_config_unittest.cc --- diff --git a/src/bin/dhcp4/tests/get_config_unittest.cc b/src/bin/dhcp4/tests/get_config_unittest.cc index 409583a8f1..6c3ea5109e 100644 --- a/src/bin/dhcp4/tests/get_config_unittest.cc +++ b/src/bin/dhcp4/tests/get_config_unittest.cc @@ -2336,8 +2336,6 @@ const char* UNPARSED_CONFIGS[] = { " \"type\": \"memfile\"\n" " },\n" " \"match-client-id\": true,\n" -" \"max-valid-lifetime\": 5000,\n" -" \"min-valid-lifetime\": 3000,\n" " \"next-server\": \"0.0.0.0\",\n" " \"option-data\": [ ],\n" " \"option-def\": [ ],\n" @@ -2358,8 +2356,6 @@ const char* UNPARSED_CONFIGS[] = { " \"calculate-tee-times\": false,\n" " \"id\": 1,\n" " \"match-client-id\": true,\n" -" \"max-valid-lifetime\": 5000,\n" -" \"min-valid-lifetime\": 3000,\n" " \"next-server\": \"0.0.0.0\",\n" " \"option-data\": [ ],\n" " \"pools\": [\n" @@ -2430,6 +2426,8 @@ const char* UNPARSED_CONFIGS[] = { " \"type\": \"memfile\"\n" " },\n" " \"match-client-id\": true,\n" +" \"max-valid-lifetime\": 5000,\n" +" \"min-valid-lifetime\": 3000,\n" " \"next-server\": \"0.0.0.0\",\n" " \"option-data\": [ ],\n" " \"option-def\": [ ],\n" @@ -2451,6 +2449,8 @@ const char* UNPARSED_CONFIGS[] = { " \"calculate-tee-times\": false,\n" " \"id\": 1,\n" " \"match-client-id\": true,\n" +" \"max-valid-lifetime\": 5000,\n" +" \"min-valid-lifetime\": 3000,\n" " \"next-server\": \"0.0.0.0\",\n" " \"option-data\": [ ],\n" " \"pools\": [\n" diff --git a/src/bin/dhcp6/tests/get_config_unittest.cc b/src/bin/dhcp6/tests/get_config_unittest.cc index 1420529705..ee99fc44a9 100644 --- a/src/bin/dhcp6/tests/get_config_unittest.cc +++ b/src/bin/dhcp6/tests/get_config_unittest.cc @@ -1967,10 +1967,6 @@ const char* UNPARSED_CONFIGS[] = { " \"type\": \"memfile\"\n" " },\n" " \"mac-sources\": [ \"any\" ],\n" -" \"max-preferred-lifetime\": 4000,\n" -" \"max-valid-lifetime\": 5000,\n" -" \"min-preferred-lifetime\": 2000,\n" -" \"min-valid-lifetime\": 3000,\n" " \"option-data\": [ ],\n" " \"option-def\": [ ],\n" " \"preferred-lifetime\": 3000,\n" @@ -2039,6 +2035,10 @@ const char* UNPARSED_CONFIGS[] = { " \"type\": \"memfile\"\n" " },\n" " \"mac-sources\": [ \"any\" ],\n" +" \"max-preferred-lifetime\": 4000,\n" +" \"max-valid-lifetime\": 5000,\n" +" \"min-preferred-lifetime\": 2000,\n" +" \"min-valid-lifetime\": 3000,\n" " \"option-data\": [ ],\n" " \"option-def\": [ ],\n" " \"preferred-lifetime\": 3000,\n"