Fix in issue where no servers are to be found (introduced in last refactoring)
[m6w6/libmemcached] / tests / test.c
index 9ffe21c7e4e8d5dc4bf94d5b260235a2cf819775..765149ecb66c7279c155cd7709919648ed132f36 100644 (file)
@@ -14,7 +14,7 @@
 #include "test.h"
 
 #define TEST_PORT_BASE MEMCACHED_DEFAULT_PORT+10 
-#define TEST_SERVERS 2
+#define TEST_SERVERS 5
 
 long int timedif(struct timeval a, struct timeval b)
 {
@@ -158,9 +158,7 @@ int main(int argc, char *argv[])
       if (next->pre)
       {
         memcached_return rc;
-        WATCHPOINT_STRING(next->name);
         rc= next->pre(memc);
-        WATCHPOINT;
 
         if (rc != MEMCACHED_SUCCESS)
         {