some more backend round on pipe test (for slower machines...)
authorReinhard Pfau <Reinhard.Pfau@gmx.de>
Sun, 19 Apr 2009 20:12:51 +0000 (22:12 +0200)
committerReinhard Pfau <Reinhard.Pfau@gmx.de>
Sun, 19 Apr 2009 20:12:51 +0000 (22:12 +0200)
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);
             }