From: Brian Aker Date: Tue, 30 Oct 2007 17:04:32 +0000 (-0700) Subject: Modified test to allow it to run on slow machines (aka it ran too long) X-Git-Tag: 0_7 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=refs%2Ftags%2F0_7;p=m6w6%2Flibmemcached Modified test to allow it to run on slow machines (aka it ran too long) --- diff --git a/tests/test.c b/tests/test.c index ac319bc0..5653271a 100644 --- a/tests/test.c +++ b/tests/test.c @@ -609,9 +609,11 @@ void user_supplied_bug2(memcached_st *memc) memcached_behavior_set(memc, MEMCACHED_BEHAVIOR_SOCKET_RECV_SIZE, &setter); getter = memcached_behavior_get(memc, MEMCACHED_BEHAVIOR_SOCKET_SEND_SIZE); getter = memcached_behavior_get(memc, MEMCACHED_BEHAVIOR_SOCKET_RECV_SIZE); -#endif for (x= 0, errors= 0, total= 0 ; total < 20 * 1024576 ; x++) +#endif + + for (x= 0, errors= 0, total= 0 ; total < 24576 ; x++) { memcached_return rc= MEMCACHED_SUCCESS; char buffer[SMALL_STRING_LEN];