提交 e06e8395 编写于 作者: C Chris Hajas 提交者: Chris Hajas

Increase retry logic for gpmfr

This ping test can sometimes fail. We previously added retry logic which
significantly reduced failures, but some are still present.
上级 4f84710a
......@@ -1194,11 +1194,11 @@ class GpMfr(Operation):
"""
Try to reach DD three times, raise exception if ping test fails.
"""
for i in range(3):
for i in range(10):
loss = ddSystem.pingTest()
if loss == 0:
return
time.sleep(2)
time.sleep(6)
# Non zero packet loss
raise Exception("%s Data Domain not reachable." % ddSystem)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册