X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Fcycle.cc;h=64d2b860355e217dc53ec59dcccea160c6654e2f;hb=099ae042fda3ce9faa22390dbef80179388c0bb0;hp=04b00f704d37edb47fd8b0666edc7b980a2c8558;hpb=28602fd2f5f1c758b50cd82d4545da8e6c55f5c7;p=awesomized%2Flibmemcached diff --git a/tests/cycle.cc b/tests/cycle.cc index 04b00f70..64d2b860 100644 --- a/tests/cycle.cc +++ b/tests/cycle.cc @@ -42,7 +42,7 @@ #include #include -#include +#include #include #include @@ -53,8 +53,6 @@ using namespace libtest; -#define SERVERS_TO_CREATE 5 - #ifndef __INTEL_COMPILER #pragma GCC diagnostic ignored "-Wstrict-aliasing" #endif @@ -129,6 +127,7 @@ collection_st collection[] ={ }; +#define TEST_PORT_BASE MEMCACHED_DEFAULT_PORT +10 #include "tests/libmemcached_world.h" void get_world(Framework *world) @@ -148,5 +147,6 @@ void get_world(Framework *world) world->collection_shutdown= (test_callback_fn*)world_container_shutdown; world->set_runner(&defualt_libmemcached_runner); + world->set_socket(); }