elastic / rally

Macrobenchmarking framework for Elasticsearch
Apache License 2.0
1.95k stars 313 forks source link

Retrieve serverless build hash from nodes info API #1756

Closed gbanasiak closed 1 year ago

gbanasiak commented 1 year ago

This PR adds retrieval of build hash for serverless clusters from nodes info API (_nodes?filter_path=**.build_hash).

The PR introduces 2 configuration settings under driver section:

ebadyano commented 1 year ago

Thank you for the change! Does it make sense to add a test in driver_test.py?

gbanasiak commented 1 year ago

@ebadyano

Does it make sense to add a test in driver_test.py?

Sure, added in https://github.com/elastic/rally/pull/1756/commits/b9a2ab8752a458a2cd29003756a24bfec0a0bd54. Please take a look.