X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Fcycle.cc;h=a8ddc8a6fa2acf8cec73ac594aa8600403ed41cd;hb=9d64a2dd252e2a8e0aa22706323755316831d98a;hp=679473eadd02c823b19dbc98502e5dcddfddee0a;hpb=ab130c459a975d24628169901addb191ef2cdf87;p=m6w6%2Flibmemcached diff --git a/tests/cycle.cc b/tests/cycle.cc index 679473ea..a8ddc8a6 100644 --- a/tests/cycle.cc +++ b/tests/cycle.cc @@ -39,11 +39,11 @@ Test that we are cycling the servers we are creating during testing. */ -#include +#include #include using namespace libtest; -#include +#include static test_return_t server_startup_single_TEST(void *obj) { @@ -57,6 +57,8 @@ static test_return_t server_startup_single_TEST(void *obj) static test_return_t server_startup_multiple_TEST(void *obj) { + test_skip(true, jenkins_is_caller()); + server_startup_st *servers= (server_startup_st*)obj; for (size_t x= 0; x < 10; x++) { @@ -118,6 +120,12 @@ collection_st collection[] ={ static void *world_create(server_startup_st& servers, test_return_t& error) { + if (jenkins_is_caller()) + { + error= TEST_SKIPPED; + return NULL; + } + if (libtest::has_memcached() == false) { error= TEST_SKIPPED; @@ -127,7 +135,7 @@ static void *world_create(server_startup_st& servers, test_return_t& error) return &servers; } -void get_world(Framework *world) +void get_world(libtest::Framework* world) { world->collections(collection); world->create(world_create);