Skip to content

Commit

Permalink
Make target_login_test_linux more robust by increasing retries (#13954)
Browse files Browse the repository at this point in the history
  • Loading branch information
bmeagherix authored Jun 28, 2024
1 parent 325f840 commit ab3ef1c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit ab3ef1c

Please sign in to comment.