libt2n: (tomj) fixed call of virtual function close() from destructor, fixed return...
[libt2n] / test / simplecmd.cpp
index 36e08f1..1c8e09e 100644 (file)
@@ -284,9 +284,10 @@ class test_simplecmd : public TestFixture
                 socket_server ss("./socket");
                 command_server cs(ss);
 
-                // max 10 sec
-                for (int i=0; i < 10; i++)
+                // max 60 sec - we need atleast 28 handle calls to transfer the buffer
+                for (int i=0; i < 60; i++) {
                     cs.handle(1000000);
+                }
 
                 // don't call atexit and stuff
                 _exit(0);