Skip to content

Commit

Permalink
Retrieve cluster info in serverless public mode (#1790)
Browse files Browse the repository at this point in the history
  • Loading branch information
gbanasiak authored Oct 16, 2023
1 parent b18e0b4 commit bdd4640
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions esrally/driver/driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -718,10 +718,11 @@ def prepare_benchmark(self, t):
self.logger.info("Skipping REST API check as requested explicitly.")
elif uses_static_responses:
self.logger.info("Skipping REST API check as static responses are used.")
elif serverless_mode and not serverless_operator:
self.logger.info("Skipping REST API check while targetting serverless cluster with a public user.")
else:
self.wait_for_rest_api(es_clients)
if serverless_mode and not serverless_operator:
self.logger.info("Skipping REST API check while targetting serverless cluster with a public user.")
else:
self.wait_for_rest_api(es_clients)
self.driver_actor.cluster_details = self.retrieve_cluster_info(es_clients)
if serverless_mode and serverless_operator:
build_hash = self.retrieve_build_hash_from_nodes_info(es_clients)
Expand Down

0 comments on commit bdd4640

Please sign in to comment.