TimerEventProxy pseudo bug prevention removed
jmo [Tue, 27 Apr 2010 15:59:52 +0000 (15:59 +0000)]
git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1607 270642c3-0616-0410-b53a-bc976706d245

senf/Scheduler/TimerEventProxy.test.cc

index a4ce7ed..49aa142 100644 (file)
@@ -63,7 +63,7 @@ SENF_AUTO_UNIT_TEST(timerEventProxy)
     {
         senf::scheduler::TimerEventProxy<int> timers;
 
-        timers.add( t + senf::ClockService::milliseconds(10000), 0 , &handler);
+//        timers.add( t + senf::ClockService::milliseconds(10000), 0 , &handler);
         timers.add( t + senf::ClockService::milliseconds(800), 4, &handler);
         timers.add( t + senf::ClockService::milliseconds(200), 1, &handler);
         BOOST_CHECK( timers.remove( 4));
@@ -74,7 +74,7 @@ SENF_AUTO_UNIT_TEST(timerEventProxy)
         BOOST_CHECK_EQUAL( timers.timeout(2), t + senf::ClockService::milliseconds(700));
         BOOST_CHECK_EQUAL( timers.timeout(4), 0);
 
-        run( senf::ClockService::milliseconds( 1000));
+        run( senf::ClockService::milliseconds( 2000));
 
         BOOST_CHECK( mask == 3);
     }