summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon Mason <jdmason@kudzu.us>2024-08-22 11:09:55 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-08-22 16:17:41 +0100
commit001eea1f7d0209b63bce29bd0d92e13ee965bd72 (patch)
treef66ce2fb7e1c881c143d4c1bcd76967b46b0398c
parent9e6030e4a59cb5891ec2b7bf93711d0535644951 (diff)
downloadpoky-001eea1f7d0209b63bce29bd0d92e13ee965bd72.tar.gz
oeqa/runtime/ssh: increase the number of attempts
Under high load, the ssh test is hitting the amount of retries. Increase it to 20 to avoid this issue. This would increase the maximum failure time from 50 seconds (5 * 10) to 100 seconds. (From OE-Core rev: c796438eec5dd6b4671b798f85506bc89ff402ab) Signed-off-by: Jon Mason <jdmason@kudzu.us> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/lib/oeqa/runtime/cases/ssh.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/runtime/cases/ssh.py b/meta/lib/oeqa/runtime/cases/ssh.py
index 08430ae9db..b86428002f 100644
--- a/meta/lib/oeqa/runtime/cases/ssh.py
+++ b/meta/lib/oeqa/runtime/cases/ssh.py
@@ -16,7 +16,7 @@ class SSHTest(OERuntimeTestCase):
16 @OETestDepends(['ping.PingTest.test_ping']) 16 @OETestDepends(['ping.PingTest.test_ping'])
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(10): 19 for i in range(20):
20 status, output = self.target.run("uname -a", timeout=5) 20 status, output = self.target.run("uname -a", timeout=5)
21 if status == 0: 21 if status == 0:
22 break 22 break