From: Razvan Becheriu Date: Wed, 17 Feb 2021 06:51:50 +0000 (+0200) Subject: [#899] increase timeout for some unittests X-Git-Tag: Kea-1.9.5~52 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=828ce99a5dc4de070ddcccf301dba057a553981e;p=thirdparty%2Fkea.git [#899] increase timeout for some unittests --- diff --git a/src/bin/dhcp4/dhcp4_messages.cc b/src/bin/dhcp4/dhcp4_messages.cc index ecae43d0f0..f8488fce08 100644 --- a/src/bin/dhcp4/dhcp4_messages.cc +++ b/src/bin/dhcp4/dhcp4_messages.cc @@ -165,7 +165,7 @@ const char* values[] = { "DHCP4_BUFFER_RECEIVED", "received buffer from %1:%2 to %3:%4 over interface %5", "DHCP4_BUFFER_RECEIVE_FAIL", "error on attempt to receive packet: %1", "DHCP4_BUFFER_UNPACK", "parsing buffer received from %1 to %2 over interface %3", - "DHCP4_BUFFER_WAIT_SIGNAL", "signal received while waiting for next packet, next waiting signal is %1", + "DHCP4_BUFFER_WAIT_SIGNAL", "signal received while waiting for next packet", "DHCP4_CB_ON_DEMAND_FETCH_UPDATES_FAIL", "error on demand attempt to fetch configuration updates from the configuration backend(s): %1", "DHCP4_CB_PERIODIC_FETCH_UPDATES_FAIL", "error on periodic attempt to fetch configuration updates from the configuration backend(s): %1", "DHCP4_CB_PERIODIC_FETCH_UPDATES_RETRIES_EXHAUSTED", "maximum number of configuration fetch attempts: 10, has been exhausted without success", diff --git a/src/bin/dhcp6/dhcp6_messages.cc b/src/bin/dhcp6/dhcp6_messages.cc index 4c40b8a0ef..541674cb9a 100644 --- a/src/bin/dhcp6/dhcp6_messages.cc +++ b/src/bin/dhcp6/dhcp6_messages.cc @@ -167,7 +167,7 @@ const char* values[] = { "DHCP6_ALREADY_RUNNING", "%1 already running? %2", "DHCP6_BUFFER_RECEIVED", "received buffer from %1:%2 to %3:%4 over interface %5", "DHCP6_BUFFER_UNPACK", "parsing buffer received from %1 to %2 over interface %3", - "DHCP6_BUFFER_WAIT_SIGNAL", "signal received while waiting for next packet, next waiting signal is %1", + "DHCP6_BUFFER_WAIT_SIGNAL", "signal received while waiting for next packet", "DHCP6_CB_ON_DEMAND_FETCH_UPDATES_FAIL", "error on demand attempt to fetch configuration updates from the configuration backend(s): %1", "DHCP6_CB_PERIODIC_FETCH_UPDATES_FAIL", "error on periodic attempt to fetch configuration updates from the configuration backend(s): %1", "DHCP6_CB_PERIODIC_FETCH_UPDATES_RETRIES_EXHAUSTED", "maximum number of configuration fetch attempts: 10, has been exhausted without success", diff --git a/src/lib/dhcpsrv/tests/memfile_lease_mgr_unittest.cc b/src/lib/dhcpsrv/tests/memfile_lease_mgr_unittest.cc index dd1b4cd3d1..59ff4d42f7 100644 --- a/src/lib/dhcpsrv/tests/memfile_lease_mgr_unittest.cc +++ b/src/lib/dhcpsrv/tests/memfile_lease_mgr_unittest.cc @@ -522,7 +522,7 @@ TEST_F(MemfileLeaseMgrTest, leaseFileCleanup4) { EXPECT_EQ(new_file_contents, current_file.readFile()); // Wait for the LFC process to complete. - setTestTime(100); + setTestTime(500); // And make sure it has returned an exit status of 0. EXPECT_EQ(0, lease_mgr->getLFCExitStatus()) @@ -603,7 +603,7 @@ TEST_F(MemfileLeaseMgrTest, leaseFileCleanup6) { EXPECT_EQ(new_file_contents, current_file.readFile()); // Wait for the LFC process to complete. - setTestTime(100); + setTestTime(500); // And make sure it has returned an exit status of 0. EXPECT_EQ(0, lease_mgr->getLFCExitStatus())