diff options
Diffstat (limited to 'meta/lib/oeqa/runtime')
-rw-r--r-- | meta/lib/oeqa/runtime/cases/ping.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/lib/oeqa/runtime/cases/ping.py b/meta/lib/oeqa/runtime/cases/ping.py index 967b44175f..fcb72d4543 100644 --- a/meta/lib/oeqa/runtime/cases/ping.py +++ b/meta/lib/oeqa/runtime/cases/ping.py | |||
@@ -5,6 +5,7 @@ | |||
5 | # | 5 | # |
6 | 6 | ||
7 | from subprocess import Popen, PIPE | 7 | from subprocess import Popen, PIPE |
8 | from time import sleep | ||
8 | 9 | ||
9 | from oeqa.runtime.case import OERuntimeTestCase | 10 | from oeqa.runtime.case import OERuntimeTestCase |
10 | from oeqa.core.decorator.oetimeout import OETimeout | 11 | from oeqa.core.decorator.oetimeout import OETimeout |
@@ -25,6 +26,7 @@ class PingTest(OERuntimeTestCase): | |||
25 | count += 1 | 26 | count += 1 |
26 | else: | 27 | else: |
27 | count = 0 | 28 | count = 0 |
29 | sleep(1) | ||
28 | except OEQATimeoutError: | 30 | except OEQATimeoutError: |
29 | self.fail("Ping timeout error for address %s, count %s, output: %s" % (self.target.ip, count, output)) | 31 | self.fail("Ping timeout error for address %s, count %s, output: %s" % (self.target.ip, count, output)) |
30 | msg = ('Expected 5 consecutive, got %d.\n' | 32 | msg = ('Expected 5 consecutive, got %d.\n' |