Skip to content

Commit 8f1f10f

Browse files
Provide a proper boolean in cluster health call
Relates elastic/elasticsearch#22200
1 parent 2210e92 commit 8f1f10f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

esrally/driver/driver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ def _do_wait(es, expected_cluster_status):
566566
result = es.cluster.health(wait_for_status=expected_cluster_status, wait_for_relocating_shards=0, timeout="3s")
567567
else:
568568
result = es.cluster.health(wait_for_status=expected_cluster_status, timeout="3s",
569-
params={"wait_for_no_relocating_shards": True})
569+
params={"wait_for_no_relocating_shards": "true"})
570570
except (socket.timeout, elasticsearch.exceptions.ConnectionError):
571571
pass
572572
except elasticsearch.exceptions.TransportError as e:

0 commit comments

Comments
 (0)