Skip to content

Commit

Permalink
update redis Benchmark test
Browse files Browse the repository at this point in the history
  • Loading branch information
snower committed May 16, 2024
1 parent 0d714a8 commit 1e5aed3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions run-tests
Original file line number Diff line number Diff line change
Expand Up @@ -233,10 +233,10 @@ $BENCH_OUTPUTS
"

APT_CMD=`which apt`
if [ -x APT_CMD ]; then
if [ -x $APT_CMD ]; then
$APT_CMD update && $APT_CMD install -y redis
REDIS_BENCHMARK_CMD=`which redis-benchmark`
if [ -x REDIS_BENCHMARK_CMD ]; then
if [ -x $REDIS_BENCHMARK_CMD ]; then
echo "Redis Benchmark Info:"
$REDIS_BENCHMARK_CMD -h 127.0.0.1 -p 5659 -n 2000000 -c 64 -t set,get,incr

Expand Down

0 comments on commit 1e5aed3

Please sign in to comment.