From: Michael Wallner Date: Tue, 10 Nov 2020 13:15:14 +0000 (+0100) Subject: testing: memcp quit/flush when udp/buffering X-Git-Tag: 1.1.0-beta1~117 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=f944076f276c2dc624f6d0a43742daf267d423b7;p=m6w6%2Flibmemcached testing: memcp quit/flush when udp/buffering --- diff --git a/test/tests/bin/memcp.cpp b/test/tests/bin/memcp.cpp index fc61e57f..9f891ccb 100644 --- a/test/tests/bin/memcp.cpp +++ b/test/tests/bin/memcp.cpp @@ -77,6 +77,10 @@ TEST_CASE("bin/memcp") { REQUIRE(output == ""); REQUIRE(ok); + if (udp_buffer) { + memcached_quit(*memc); + } + size_t len; memcached_return_t rc; Malloced val(memcached_get(*memc, S(temp.getFn()), &len, nullptr, &rc));