tests: fix kill(HUP) test
authorMichael Wallner <mike@php.net>
Mon, 13 Jan 2020 13:56:35 +0000 (14:56 +0100)
committerMichael Wallner <mike@php.net>
Mon, 13 Jan 2020 13:56:35 +0000 (14:56 +0100)
tests/libmemcached-1.0/mem_functions.cc

index bed716cda316f196b9bd5f89fc4f66ec5a35cfe1..0d6d047db6823d166700e2fce474914fc8eda2ec 100644 (file)
@@ -5079,8 +5079,7 @@ test_return_t kill_HUP_TEST(memcached_st *original_memc)
                                         test_literal_param(__func__), // Keys
                                         test_literal_param(__func__), // Values
                                         0, 0);
-  test_compare(ret, memc);
-  test_compare(MEMCACHED_CONNECTION_FAILURE, memc);
+  test_compare(MEMCACHED_CONNECTION_FAILURE, ret);
 
   memcached_free(memc);