some more backend round on pipe test (for slower machines...)
[libasyncio] / unittest / test_simpleio_basics.cpp
index 749805b..a82a75d 100644 (file)
@@ -666,7 +666,7 @@ class TestSimpleioBasics : public TestFixture
             CPPUNIT_ASSERT_EQUAL(true, res);
 
             // do some backend cycles to empty the pipe:
-            for (int i=32; i-->0 && res && !pipe1.empty(); )
+            for (int i=64; i-->0 && res && !pipe1.empty(); )
             {
                 res= backend->doOneStep(100);
             };
@@ -675,7 +675,7 @@ class TestSimpleioBasics : public TestFixture
             CPPUNIT_ASSERT_EQUAL(false, pipe1.opened());
 
             // now read the remaining data until we recognize EOF:
-            for (int i=32; i-->0 && res && !pipe2.eof();)
+            for (int i=64; i-->0 && res && !pipe2.eof();)
             {
                 res= backend->doOneStep(100);
             }