in pytest_rally/elasticsearch.py [0:0]
def start(self):
race = str(uuid.uuid4())
cmd = f'esrally start --runtime-jdk=bundled --installation-id={self.installation_id} --race-id={race}'
self.logger.info("Starting Elasticsearch: [%s]", cmd)
if self.debug:
return
else:
try:
subprocess.run(shlex.split(cmd), check=True)
except subprocess.CalledProcessError as e:
raise AssertionError("Failed to start Elasticsearch test cluster.", e)