X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Fcycle.cc;h=a8ddc8a6fa2acf8cec73ac594aa8600403ed41cd;hb=9a58df7803d815ca6be695c5fc38469da099620f;hp=32df0da0883e74ec4813035f3dc758d1b06b3923;hpb=fed85d3c429c3881cd378d10e4dccd30f4fd2478;p=awesomized%2Flibmemcached diff --git a/tests/cycle.cc b/tests/cycle.cc index 32df0da0..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;