From d23b8c0a8c394a0ea2d0482e9e4d508e2f38f642 Mon Sep 17 00:00:00 2001 From: Brian Aker Date: Tue, 30 Oct 2007 10:04:32 -0700 Subject: [PATCH] Modified test to allow it to run on slow machines (aka it ran too long) --- tests/test.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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]; -- 2.30.2