Skip to content

Commit

Permalink
Provide a proper boolean in cluster health call
Browse files Browse the repository at this point in the history
  • Loading branch information
danielmitterdorfer committed Jan 20, 2017
1 parent 2210e92 commit 8f1f10f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion esrally/driver/driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ def _do_wait(es, expected_cluster_status):
result = es.cluster.health(wait_for_status=expected_cluster_status, wait_for_relocating_shards=0, timeout="3s")
else:
result = es.cluster.health(wait_for_status=expected_cluster_status, timeout="3s",
params={"wait_for_no_relocating_shards": True})
params={"wait_for_no_relocating_shards": "true"})
except (socket.timeout, elasticsearch.exceptions.ConnectionError):
pass
except elasticsearch.exceptions.TransportError as e:
Expand Down

0 comments on commit 8f1f10f

Please sign in to comment.