Raise the timeout for the server to come up. Maybe travis will make it.

This commit is contained in:
Honza Král
2014-01-18 21:25:14 +01:00
parent dfb939d878
commit a3e98c5ec3
+1 -1
View File
@@ -28,7 +28,7 @@ def get_client():
client = Elasticsearch([os.environ.get('TEST_ES_SERVER', {})], **kw)
# wait for yellow status
for _ in range(100):
for _ in range(200):
time.sleep(.1)
try:
client.cluster.health(wait_for_status='yellow')