summaryrefslogtreecommitdiff
path: root/tests/integration/redis-benchmark.tcl
diff options
context:
space:
mode:
authorluhuachao <14054766+chimney-lee@users.noreply.github.com>2020-12-02 19:17:25 +0800
committerGitHub <noreply@github.com>2020-12-02 13:17:25 +0200
commit7885faf18b776eaed4a7ddcf8fb8bce699820eea (patch)
tree43da6b4f68a9dd0ab6aa6df959bd8c38b21669db /tests/integration/redis-benchmark.tcl
parent69b7113bb52360f330d184b5b270625d35902ad6 (diff)
downloadredis-7885faf18b776eaed4a7ddcf8fb8bce699820eea.tar.gz
Modify help msg PING_BULK to PING_MBULK in benchmark (#8109)
As described in redis-benchamrk help message 'The test names are the same as the ones produced as output.', In redis-benchmark output, we can only see PING_BULK, but the cmd `redis-benchmark -t ping_bulk` is not supported. We have to run it with ping_mbulk which is not user friendly.
Diffstat (limited to 'tests/integration/redis-benchmark.tcl')
-rw-r--r--tests/integration/redis-benchmark.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/integration/redis-benchmark.tcl b/tests/integration/redis-benchmark.tcl
index 4a4be2ebc..5a4f09952 100644
--- a/tests/integration/redis-benchmark.tcl
+++ b/tests/integration/redis-benchmark.tcl
@@ -33,7 +33,7 @@ start_server {tags {"benchmark"}} {
puts [colorstr red "redis-benchmark non zero code. first line: $first_line"]
fail "redis-benchmark non zero code. first line: $first_line"
}
- # ping total calls are 2*issued commands per test due to PING_INLINE and PING_BULK
+ # ping total calls are 2*issued commands per test due to PING_INLINE and PING_MBULK
assert_match {*calls=200,*} [cmdstat ping]
assert_match {*calls=100,*} [cmdstat set]
assert_match {*calls=100,*} [cmdstat get]