X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Freplication.cc;h=be1fd7e2bfb24d5dce52a6f2776e105598168e3a;hb=aa2acacce631a544d7915102b7c6c22f4ef4458d;hp=033b43229181d520ef68c93a6e9c30a43abd22e5;hpb=91e92172731fe8a37e562a165d25a312569aff44;p=m6w6%2Flibmemcached diff --git a/tests/replication.cc b/tests/replication.cc index 033b4322..be1fd7e2 100644 --- a/tests/replication.cc +++ b/tests/replication.cc @@ -40,7 +40,8 @@ using namespace libtest; -#include +#include +#include #include #include @@ -265,8 +266,8 @@ test_return_t replication_delete_test(memcached_st *memc_just_cloned) memcached_flush_buffers(memc_replicated); // Confirm keys with replication read - test_compare(TEST_SUCCESS, confirm_keys_exist(memc_replicated, keys, test_array_length(keys), true)); - test_compare(TEST_SUCCESS, confirm_keys_exist(memc_not_replicate, keys, test_array_length(keys), true)); + test_compare(TEST_SUCCESS, confirm_keys_exist(memc_replicated, keys, test_array_length(keys), true, true)); + test_compare(TEST_SUCCESS, confirm_keys_exist(memc_not_replicate, keys, test_array_length(keys), true, true)); /* Delete the items from all of the servers except 1, we use the non replicated memc so that we know we deleted the keys */ for (size_t x= 0; x < test_array_length(keys); ++x)