#include <tests/libmemcached-1.0/generate.h>
#include <tests/libmemcached-1.0/fetch_all_results.h>
-#include "tests/libmemcached-1.0/servers_to_create.h"
#include "tests/libmemcached-1.0/callback_counter.h"
#include "clients/generator.h"
#define GLOBAL_COUNT 10000
#define GLOBAL2_COUNT 100
+using namespace libtest;
+
static pairs_st *global_pairs;
static const char *global_keys[GLOBAL_COUNT];
static size_t global_keys_length[GLOBAL_COUNT];
memcached_stat_st *stat_p= memcached_stat(memc, NULL, &rc);
test_true(stat_p);
- for (uint32_t host_index= 0; host_index < SERVERS_TO_CREATE; host_index++)
+ for (uint32_t host_index= 0; host_index < memcached_server_count(memc); host_index++)
{
/* This test was changes so that "make test" would work properlly */
if (DEBUG)