From: g0dil Date: Fri, 2 Oct 2009 10:47:17 +0000 (+0000) Subject: Utils/Daemon: Make unit test more robust (fix delay times) X-Git-Url: http://g0dil.de/git?a=commitdiff_plain;h=7d2d71183cf287c05d603e5a4954ed4eecf8a409;p=senf.git Utils/Daemon: Make unit test more robust (fix delay times) git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1474 270642c3-0616-0410-b53a-bc976706d245 --- diff --git a/senf/Utils/Daemon/Daemon.test.cc b/senf/Utils/Daemon/Daemon.test.cc index 838861c..9f8b0f7 100644 --- a/senf/Utils/Daemon/Daemon.test.cc +++ b/senf/Utils/Daemon/Daemon.test.cc @@ -142,7 +142,7 @@ BOOST_AUTO_UNIT_TEST(testDaemon) ::kill(pid, SIGHUP); } - delay(2000); + delay(3000); BOOST_CHECK( ! boost::filesystem::exists("testDaemon.pid") ); BOOST_CHECK( boost::filesystem::exists("testDaemon.log") ); BOOST_CHECK( boost::filesystem::exists("testDaemon.log.1") );