Skip to content

Commit

Permalink
Add equal mark between --workload-params and its value, so that quote…
Browse files Browse the repository at this point in the history
… mark is treated as part of the value

Signed-off-by: Tianli Feng <ftianli@amazon.com>
  • Loading branch information
Tianli Feng committed Jul 28, 2023
1 parent f527b46 commit 63c831b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/test_workflow/benchmark_test/benchmark_test_suite.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def __init__(

if args.workload_params:
logging.info(f"Workload Params are {args.workload_params}")
self.command += f" --workload-params '{args.workload_params}'"
self.command += f" --workload-params='{args.workload_params}'"

if args.user_tag:
user_tag = f"--user-tag=\"{args.user_tag}\""
Expand All @@ -66,6 +66,7 @@ def execute(self) -> None:
self.command += ' --client-options="timeout:300,use_ssl:true,verify_certs:false,basic_auth_user:\'admin\',basic_auth_password:\'admin\'"'
else:
self.command += ' --client-options="timeout:300"'

if args.expanded_data_size is not None:
self.command += "\""
logging.info(f"Executing {self.command}")
Expand Down

0 comments on commit 63c831b

Please sign in to comment.