projects
/
awesomized
/
libmemcached
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
340a8c6
)
testing: memstat --analyze=latency
author
Michael Wallner
<mike@php.net>
Tue, 20 Oct 2020 17:04:09 +0000
(19:04 +0200)
committer
Michael Wallner
<mike@php.net>
Tue, 20 Oct 2020 17:04:09 +0000
(19:04 +0200)
test/tests/bin/memstat.cpp
patch
|
blob
|
history
diff --git
a/test/tests/bin/memstat.cpp
b/test/tests/bin/memstat.cpp
index 431d1ce7552911113e5ca7ff0ad8f522f46c7638..6d43003a12c052f43ce88e3ae77237aa29760ed9 100644
(file)
--- 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") {