PPI: another try to fix PassiveQueueingSocketSink unit test
tho [Tue, 28 Sep 2010 10:51:05 +0000 (10:51 +0000)]
git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1722 270642c3-0616-0410-b53a-bc976706d245

senf/PPI/QueueingSocketSink.test.cc

index 9d9268f..3c46d4a 100644 (file)
@@ -124,7 +124,7 @@ SENF_AUTO_UNIT_TEST(passiveQueueingSocketSink)
 
     udpSink.writer().throttled = false;
 
-    runPPI( senf::ClockService::milliseconds(200));
+    runPPI( senf::ClockService::milliseconds(250));
 
     inputSocket.blocking(false);
     while (true) {
@@ -132,6 +132,8 @@ SENF_AUTO_UNIT_TEST(passiveQueueingSocketSink)
         if (input.empty()) break;
         BOOST_CHECK_EQUAL( data, input );
     }
+
+    runPPI( senf::ClockService::milliseconds(250));
     BOOST_CHECK_EQUAL( udpSink.qAlgorithm().size(), 0);
 }