X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;ds=inline;f=tests%2Fcycle.cc;h=a8ddc8a6fa2acf8cec73ac594aa8600403ed41cd;hb=e23d774aaee5cf66ff4dc563f5b0a2cad293dd82;hp=679473eadd02c823b19dbc98502e5dcddfddee0a;hpb=e9c7a25491f4cf9265a926b7d9848bd70acaf7aa;p=awesomized%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);