tests: speedup by not waiting too long for servers
[awesomized/libmemcached] / libtest / wait.h
index a39a853e4a7e9c0f1ed366426d596ffa937cf618..e5cdcb3d4766ca4d0cece1e85eb69bf50bf67d9a 100644 (file)
@@ -74,7 +74,7 @@ public:
       }
 
       this_wait= retry * retry / 3 + 1;
-      libtest::dream(this_wait, 0);
+      libtest::dream(0, this_wait * 10000000);
     }
   }
 
@@ -98,7 +98,7 @@ public:
       }
 
       this_wait= retry * retry / 3 + 1;
-      libtest::dream(this_wait, 0);
+      libtest::dream(0, this_wait * 10000000);
     }
   }