From 9065046a3fd404f72fb090cb0da65cfa8443032f Mon Sep 17 00:00:00 2001 From: Brian Aker Date: Sun, 23 Dec 2012 14:35:03 -0500 Subject: [PATCH] Update to printout where things are going wrong. --- tests/libmemcached-1.0/mem_functions.cc | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/tests/libmemcached-1.0/mem_functions.cc b/tests/libmemcached-1.0/mem_functions.cc index 068d5197..046e543d 100644 --- a/tests/libmemcached-1.0/mem_functions.cc +++ b/tests/libmemcached-1.0/mem_functions.cc @@ -4949,11 +4949,12 @@ test_return_t kill_HUP_TEST(memcached_st *original_memc) 0, 0)); test_true_got(kill(pid, SIGHUP) == 0, strerror(errno)); - test_compare(MEMCACHED_CONNECTION_FAILURE, - memcached_set(memc, - test_literal_param(__func__), // Keys - test_literal_param(__func__), // Values - 0, 0)); + memcached_return_t ret= memcached_set(memc, + test_literal_param(__func__), // Keys + test_literal_param(__func__), // Values + 0, 0); + Error << memcached_last_error_message(memc); + test_compare(MEMCACHED_CONNECTION_FAILURE, ret); memcached_free(memc); -- 2.30.2