Skip to content

Commit cca1232

Browse files
Fixed local redis-benchmark run args (#77)
* [fix] Fixed local redis-benchmark run args * Bumping version from 0.1.63 to 0.1.64
1 parent a7924bc commit cca1232

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "redisbench-admin"
3-
version = "0.1.63"
3+
version = "0.1.64"
44
description = "Redis benchmark run helper. A wrapper around Redis and Redis Modules benchmark tools ( ftsb_redisearch, memtier_benchmark, redis-benchmark, aibench, etc... )."
55
authors = ["filipecosta90 <[email protected]>"]
66
readme = "README.md"

redisbench_admin/run/common.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,10 @@ def prepare_benchmark_parameters(
8787
command_arr, command_str = prepare_redis_benchmark_command(
8888
benchmark_tool, server_private_ip, server_plaintext_port, entry
8989
)
90-
redirect_file = ">{}".format(remote_results_file)
91-
command_arr.append(redirect_file)
92-
command_str = command_str + " " + redirect_file
90+
if isremote is True:
91+
redirect_file = "> {}".format(remote_results_file)
92+
command_arr.append(redirect_file)
93+
command_str = command_str + " " + redirect_file
9394

9495
if "redisgraph-benchmark-go" in benchmark_tool:
9596
if isremote is True:

0 commit comments

Comments
 (0)