Skip to content

Commit 8374efd

Browse files
Fixed remote file fetching on standalone (#287)
* On remote DB spin, logging process exit code and stdout stderr in case of failure * Fixed remote file fetching on standalone
1 parent 1ffaa1e commit 8374efd

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "redisbench-admin"
3-
version = "0.6.20"
3+
version = "0.6.21"
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]>","Redis Performance Group <[email protected]>"]
66
readme = "README.md"

redisbench_admin/run_remote/remote_db.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ def remote_db_spin(
196196
redis_conns.append(local_redis_conn)
197197
except redis.exceptions.ConnectionError as e:
198198
logging.error("A error occurred while spinning DB: {}".format(e.__str__()))
199-
remote_file = "{}/{}".format(temporary_dir, full_logfile)
199+
remote_file = full_logfile
200200
logging.error(
201201
"Trying to fetch DB remote log {} into {}".format(
202202
remote_file, full_logfile
@@ -205,9 +205,9 @@ def remote_db_spin(
205205
failed_remote_run_artifact_store(
206206
True,
207207
client_public_ip,
208-
dirname,
208+
"",
209209
remote_file,
210-
full_logfile,
210+
full_logfile[1:],
211211
s3_bucket_name,
212212
s3_bucket_path,
213213
username,

0 commit comments

Comments
 (0)