diff options
-rw-r--r-- | meta/lib/oeqa/runtime/cases/ssh.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oeqa/runtime/cases/ssh.py b/meta/lib/oeqa/runtime/cases/ssh.py index f5b76edff4..89d64430e5 100644 --- a/meta/lib/oeqa/runtime/cases/ssh.py +++ b/meta/lib/oeqa/runtime/cases/ssh.py | |||
@@ -17,7 +17,7 @@ class SSHTest(OERuntimeTestCase): | |||
17 | @OEHasPackage(['dropbear', 'openssh-sshd']) | 17 | @OEHasPackage(['dropbear', 'openssh-sshd']) |
18 | def test_ssh(self): | 18 | def test_ssh(self): |
19 | for i in range(5): | 19 | for i in range(5): |
20 | status, output = self.target.run("uname -a", timeout=5) | 20 | status, output = self.target.run("uname -a", timeout=30) |
21 | if status == 0: | 21 | if status == 0: |
22 | break | 22 | break |
23 | elif status == 255 or status == -signal.SIGTERM: | 23 | elif status == 255 or status == -signal.SIGTERM: |
@@ -29,7 +29,7 @@ class SSHTest(OERuntimeTestCase): | |||
29 | # give it time for the port to open. | 29 | # give it time for the port to open. |
30 | # We sometimes see -15 (SIGTERM) on slow emulation machines too, likely | 30 | # We sometimes see -15 (SIGTERM) on slow emulation machines too, likely |
31 | # from boot/init not being 100% complete, retry for these too. | 31 | # from boot/init not being 100% complete, retry for these too. |
32 | time.sleep(30) | 32 | time.sleep(5) |
33 | continue | 33 | continue |
34 | else: | 34 | else: |
35 | self.fail("uname failed with \"%s\" (exit code %s)" % (output, status)) | 35 | self.fail("uname failed with \"%s\" (exit code %s)" % (output, status)) |