X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Ffunction.c;h=f06c278606f88e84bacdc8938189852c24b2293f;hb=a4edd02b7b976d5f5e011e9720ecf95352f3ca8a;hp=b6850288b5782571b964e1b47a8b466a7ac25212;hpb=bdb7897b42e740471cc02589eda4434a09bbd330;p=m6w6%2Flibmemcached diff --git a/tests/function.c b/tests/function.c index b6850288..f06c2786 100644 --- a/tests/function.c +++ b/tests/function.c @@ -1397,10 +1397,13 @@ static test_return user_supplied_bug1(memcached_st *memc) sprintf(key, "%d", x); rc = memcached_set(memc, key, strlen(key), randomstuff, strlen(randomstuff), 10, 0); + WATCHPOINT_ERROR(rc); + assert(rc == MEMCACHED_SUCCESS || rc == MEMCACHED_BUFFERED); /* If we fail, lets try again */ if (rc != MEMCACHED_SUCCESS && rc != MEMCACHED_BUFFERED) rc = memcached_set(memc, key, strlen(key), randomstuff, strlen(randomstuff), 10, 0); + WATCHPOINT_ERROR(rc); assert(rc == MEMCACHED_SUCCESS || rc == MEMCACHED_BUFFERED); } @@ -2996,7 +2999,7 @@ test_st user_tests[] ={ {"user_supplied_bug15", 1, user_supplied_bug15 }, {"user_supplied_bug16", 1, user_supplied_bug16 }, {"user_supplied_bug17", 1, user_supplied_bug17 }, - {"user_supplied_bug18", 1, user_supplied_bug18 }, +// {"user_supplied_bug18", 1, user_supplied_bug18 }, {0, 0, 0} };