From ab3ef1ca99a30eceffbc8920c0aa02c81ca0403a Mon Sep 17 00:00:00 2001 From: bmeagherix <118192357+bmeagherix@users.noreply.github.com> Date: Fri, 28 Jun 2024 23:13:43 +0100 Subject: [PATCH] Make target_login_test_linux more robust by increasing retries (#13954) --- src/middlewared/middlewared/test/integration/assets/iscsi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/middlewared/middlewared/test/integration/assets/iscsi.py b/src/middlewared/middlewared/test/integration/assets/iscsi.py index 301c4c876c460..3e308080aa6cb 100644 --- a/src/middlewared/middlewared/test/integration/assets/iscsi.py +++ b/src/middlewared/middlewared/test/integration/assets/iscsi.py @@ -93,7 +93,7 @@ def target_login_test_linux(portal_ip, target_name, check_surfaced_luns=None): run_on_runner(iscsiadm + ['-m', 'node', '--targetname', target_name, '--portal', portal_ip, '--login']) logged_in = True if check_surfaced_luns is not None: - retries = 10 + retries = 20 pattern = f'ip-{portal_ip}:3260-iscsi-{target_name}-lun-*' by_path = Path('/dev/disk/by-path') while retries: