mirror of
git://git.yoctoproject.org/poky
synced 2026-08-15 04:23:07 +00:00
oeqa: runtime: ssh: Manage any SSH failure locally
This is the SSH test, it makes sense to ignore SSH failures in the SSH helper and manage them in the test body. (From OE-Core rev: 2281fd4c10e38a3cad3050b7a21a72cc7b09e718) Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
0cbe95e5ae
commit
966c774603
@ -17,7 +17,7 @@ class SSHTest(OERuntimeTestCase):
|
||||
@OEHasPackage(['dropbear', 'openssh-sshd'])
|
||||
def test_ssh(self):
|
||||
for i in range(5):
|
||||
status, output = self.target.run("uname -a", timeout=30)
|
||||
status, output = self.target.run("uname -a", timeout=30, ignore_ssh_fails=True)
|
||||
if status == 0:
|
||||
break
|
||||
elif status == 255 or status == -signal.SIGTERM:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user