diff --git a/src/redis-benchmark.c b/src/redis-benchmark.c index 0ec9cb1eb..d8c62daa3 100644 --- a/src/redis-benchmark.c +++ b/src/redis-benchmark.c @@ -1829,7 +1829,7 @@ int main(int argc, const char **argv) { if (test_is_selected("ping_mbulk") || test_is_selected("ping")) { len = redisFormatCommand(&cmd,"PING"); - benchmark("PING_BULK",cmd,len); + benchmark("PING_MBULK",cmd,len); free(cmd); } 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]