Test replica engine status retry on 503
Tempest failures occassionally occur because when the freshly started replica server is unresponsive, the tempest code does not retry. This patch adds the retry. Depends-On: https://review.openstack.org/#/c/588847/ Change-Id: I5e01412d7dbd66e2ddae99860f0d58f5b2800ab0
This commit is contained in:
parent
9ee9bf4235
commit
0d33677c01
|
@ -138,7 +138,8 @@ class TestHA(manager_congress.ScenarioPolicyBase):
|
|||
except exceptions.Unauthorized:
|
||||
LOG.debug("connection refused")
|
||||
return False
|
||||
except (socket.error, urllib3_exceptions.MaxRetryError):
|
||||
except (socket.error, urllib3_exceptions.MaxRetryError,
|
||||
exceptions.UnexpectedResponseCode):
|
||||
LOG.debug("Replica server not ready")
|
||||
return False
|
||||
except Exception:
|
||||
|
|
Loading…
Reference in New Issue