From: Francis Dupont Date: Mon, 7 Sep 2015 11:07:32 +0000 (+0200) Subject: [4009] Fixed 2 timeouts for CentOS 7 X-Git-Tag: trac4060_base~4 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b832aec5a2f8456f293fbb50ec0fff149fb6cb67;p=thirdparty%2Fkea.git [4009] Fixed 2 timeouts for CentOS 7 --- diff --git a/src/lib/dhcpsrv/tests/memfile_lease_mgr_unittest.cc b/src/lib/dhcpsrv/tests/memfile_lease_mgr_unittest.cc index 48371d18a8..8e6cf2cbae 100644 --- a/src/lib/dhcpsrv/tests/memfile_lease_mgr_unittest.cc +++ b/src/lib/dhcpsrv/tests/memfile_lease_mgr_unittest.cc @@ -656,7 +656,7 @@ TEST_F(MemfileLeaseMgrTest, leaseFileFinish) { EXPECT_EQ(current_file_contents, current_file.readFile()); // Wait for the LFC process to complete. - ASSERT_TRUE(waitForProcess(*lease_mgr, 2)); + ASSERT_TRUE(waitForProcess(*lease_mgr, 5)); // And make sure it has returned an exit status of 0. EXPECT_EQ(0, lease_mgr->getLFCExitStatus()) @@ -721,7 +721,7 @@ TEST_F(MemfileLeaseMgrTest, leaseFileCopy) { EXPECT_EQ(current_file_contents, current_file.readFile()); // Wait for the LFC process to complete. - ASSERT_TRUE(waitForProcess(*lease_mgr, 2)); + ASSERT_TRUE(waitForProcess(*lease_mgr, 5)); // And make sure it has returned an exit status of 0. EXPECT_EQ(0, lease_mgr->getLFCExitStatus())