X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Fatomsmasher.cc;h=981819d20c0c75ea03b6fafde11cd20b97e5ad26;hb=a3955c41d229334d020bf889cc031aa9fc3e00ca;hp=6949bcd6f2c184d0c37966ad8ec5459525f74f79;hpb=b77f874c7d7ff386d01eeedb44c14d3003354bae;p=m6w6%2Flibmemcached diff --git a/tests/atomsmasher.cc b/tests/atomsmasher.cc index 6949bcd6..981819d2 100644 --- a/tests/atomsmasher.cc +++ b/tests/atomsmasher.cc @@ -17,7 +17,6 @@ #include #include -#include #include #include @@ -99,8 +98,7 @@ infinite: } else { - WATCHPOINT_ERROR(rc); - WATCHPOINT_ASSERT(rc); + test_compare(MEMCACHED_SUCCESS, rc); } } else @@ -112,8 +110,7 @@ infinite: 0, 0); if (rc != MEMCACHED_SUCCESS && rc != MEMCACHED_BUFFERED) { - WATCHPOINT_ERROR(rc); - WATCHPOINT_ASSERT(0); + test_compare(MEMCACHED_SUCCESS, rc); } } } @@ -282,7 +279,6 @@ collection_st collection[] ={ #define TEST_PORT_BASE MEMCACHED_DEFAULT_PORT +10 -#define SERVERS_TO_CREATE 5 #include "libmemcached_world.h"