]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
oeqa/runtime/ssh: increase the number of attempts
authorJon Mason <jdmason@kudzu.us>
Thu, 22 Aug 2024 15:09:55 +0000 (11:09 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 22 Aug 2024 15:17:37 +0000 (16:17 +0100)
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.

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/runtime/cases/ssh.py

index 08430ae9dbb03a315fe1a56e0deae1c21ce2ec57..b86428002f65b5709cab6b6ca58fb749ac04b772 100644 (file)
@@ -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