diff options
author | Oliver Walsh <owalsh@redhat.com> | 2017-06-30 11:51:06 +0100 |
---|---|---|
committer | Oliver Walsh <owalsh@redhat.com> | 2017-06-30 11:56:55 +0100 |
commit | 6a64a4a9d20a7a43eee6181c7bab738329844eba (patch) | |
tree | 67b2fef844670eeeb10cc4052f85999b31421d6d /environments/networking | |
parent | 876bafb8e91582a4fed83514d9db0cfc3bc756d1 (diff) |
Tolerate network errors in pingtest retry logic
We use ping -w <deadline> -c <count>. This will ping every second until
<count> replies are received, or <deadline> is reached, or a network error occurs.
With the current retry logic a network error will result in a short tight loop
instead of waiting for the network to come up.
This change reduces the deadline to 10s, but sleeps 60s between retries.
Change-Id: Ib00cff6f843c04a00737b40e3ef3d1560d6e6d2d
Related-bug: #1680167
Diffstat (limited to 'environments/networking')
0 files changed, 0 insertions, 0 deletions