From 59d7373e0c1e0be8d8f3cc3dcf3c1df48554741d Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Tue, 20 Oct 2020 19:04:09 +0200 Subject: [PATCH] testing: memstat --analyze=latency --- test/tests/bin/memstat.cpp | 5 +++++ 1 file changed, 5 insertions(+) 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") { -- 2.30.2