From: Michael Wallner Date: Tue, 20 Oct 2020 17:04:09 +0000 (+0200) Subject: testing: memstat --analyze=latency X-Git-Tag: 1.1.0-beta1~188 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=59d7373e0c1e0be8d8f3cc3dcf3c1df48554741d;p=m6w6%2Flibmemcached testing: memstat --analyze=latency --- diff --git a/test/tests/bin/memstat.cpp b/test/tests/bin/memstat.cpp index 431d1ce7..6d43003a 100644 --- a/test/tests/bin/memstat.cpp +++ b/test/tests/bin/memstat.cpp @@ -56,6 +56,11 @@ TEST_CASE("bin/memstat") { REQUIRE(sh.run(comm + "--analyze", output)); REQUIRE_THAT(output, Contains("Number of Servers Analyzed : 2")); } + SECTION("analyze=latency") { + string output; + REQUIRE(sh.run(comm + "--analyze=latency", output)); + REQUIRE_THAT(output, Contains("Network Latency Test:")); + } } SECTION("connection failure") {