Raise the timeout for the server to come up. Maybe travis will make it.
This commit is contained in:
@@ -28,7 +28,7 @@ def get_client():
|
|||||||
client = Elasticsearch([os.environ.get('TEST_ES_SERVER', {})], **kw)
|
client = Elasticsearch([os.environ.get('TEST_ES_SERVER', {})], **kw)
|
||||||
|
|
||||||
# wait for yellow status
|
# wait for yellow status
|
||||||
for _ in range(100):
|
for _ in range(200):
|
||||||
time.sleep(.1)
|
time.sleep(.1)
|
||||||
try:
|
try:
|
||||||
client.cluster.health(wait_for_status='yellow')
|
client.cluster.health(wait_for_status='yellow')
|
||||||
|
|||||||
Reference in New Issue
Block a user