Skip to content

Commit

Permalink
Merge pull request #11191 from openshift-cherrypick-robot/cherry-pick…
Browse files Browse the repository at this point in the history
…-11104-to-release-4.16

[release-4.16] wrap s3 benchmark-tool - ns in hostname fixed
  • Loading branch information
dahorak authored Jan 22, 2025
2 parents 16d9e04 + 11b2826 commit c821c86
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ocs_ci/ocs/warp.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ def __init__(self):
self.ocp_obj = OCP(namespace=self.namespace)
self.bucket_name = None
self.warp_cr = templating.load_yaml(constants.WARP_OBJ_YAML)
self.host = self.warp_cr["host"]
# avoid failing DNS server to resolve hostname, when running on cluster with custom storage namespace
self.host = f"s3.{config.ENV_DATA['cluster_namespace']}.svc"
self.duration = self.warp_cr["duration"]
self.concurrent = self.warp_cr["concurrent"]
self.objects = self.warp_cr["objects"]
Expand Down

0 comments on commit c821c86

Please sign in to comment.