Skip to content

Commit

Permalink
Update console lib osi
Browse files Browse the repository at this point in the history
Signed-off-by: Andre Kurait <[email protected]>
  • Loading branch information
AndreKurait committed Dec 13, 2024
1 parent 80d9548 commit 39d3ed9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ set -o xtrace
# Newer OSB Workload revisions fail with single node cluster that is persistently in yellow state
# See https://github.com/opensearch-project/opensearch-migrations/pull/1202
workload_revision="440ce4b1fc8832b6b7673bdcec948cce3ee87e7e"
pipenv run opensearch-benchmark info --workload-revision=$workload_revision --workload=geonames

echo "Running opensearch-benchmark workloads against ${endpoint}"
echo "Running opensearch-benchmark w/ 'geonames' workload..." &&
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -190,9 +190,10 @@ def execute_benchmark_workload(self, workload: str,
raise NotImplementedError(f"Auth type {self.auth_type} is not currently support for executing "
f"benchmark workloads")
# Note -- we should censor the password when logging this command
logger.info(f"Running opensearch-benchmark with '{workload}' workload")
workload_revision="440ce4b1fc8832b6b7673bdcec948cce3ee87e7e"
logger.info(f"Running opensearch-benchmark with '{workload}' workload and revision '{workload_revision}'")
command = (f"opensearch-benchmark execute-test --distribution-version=1.0.0 --target-host={self.endpoint} "
f"--workload={workload} --pipeline=benchmark-only --test-mode --kill-running-processes "
f"--workload={workload} --workload-revision={workload_revision} --pipeline=benchmark-only --test-mode --kill-running-processes "
f"--workload-params={workload_params} --client-options={client_options}")
# While a little wordier, this apprach prevents us from censoring the password if it appears in other contexts,
# e.g. username:admin,password:admin.
Expand Down

0 comments on commit 39d3ed9

Please sign in to comment.