mirror of
https://git.yoctoproject.org/poky
synced 2026-04-20 00:32:13 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
9e6030e4a5
commit
001eea1f7d
@@ -16,7 +16,7 @@ class SSHTest(OERuntimeTestCase):
|
||||
@OETestDepends(['ping.PingTest.test_ping'])
|
||||
@OEHasPackage(['dropbear', 'openssh-sshd'])
|
||||
def test_ssh(self):
|
||||
for i in range(10):
|
||||
for i in range(20):
|
||||
status, output = self.target.run("uname -a", timeout=5)
|
||||
if status == 0:
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user