diff mbox series

oeqa/runtime/ssh: increase the number of attempts

Message ID 20240822150955.200448-1-jdmason@kudzu.us
State Accepted, archived
Commit c796438eec5dd6b4671b798f85506bc89ff402ab
Headers show
Series oeqa/runtime/ssh: increase the number of attempts | expand

Commit Message

Jon Mason Aug. 22, 2024, 3:09 p.m. UTC
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>
---
 meta/lib/oeqa/runtime/cases/ssh.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta/lib/oeqa/runtime/cases/ssh.py b/meta/lib/oeqa/runtime/cases/ssh.py
index 08430ae9dbb0..b86428002f65 100644
--- a/meta/lib/oeqa/runtime/cases/ssh.py
+++ b/meta/lib/oeqa/runtime/cases/ssh.py
@@ -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