Update connect_to_vsphere specs to expect read_timeout and open_timeout args

This commit is contained in:
Mahima Singh 2026-03-17 12:22:35 +05:30
parent bbf26502b9
commit a10e06bcfa

View file

@ -1337,7 +1337,9 @@ EOT
:host => credentials['server'],
:user => credentials['username'],
:password => credentials['password'],
:insecure => credentials['insecure']
:insecure => credentials['insecure'],
:read_timeout => 60,
:open_timeout => 60
}).and_return(connection)
subject.connect_to_vsphere
end
@ -1350,6 +1352,8 @@ EOT
:user => credentials['username'],
:password => credentials['password'],
:insecure => true,
:read_timeout => 60,
:open_timeout => 60
}).and_return(connection)
subject.connect_to_vsphere
end
@ -1361,7 +1365,9 @@ EOT
:host => credentials['server'],
:user => credentials['username'],
:password => credentials['password'],
:insecure => true
:insecure => true,
:read_timeout => 60,
:open_timeout => 60
}).and_return(connection)
subject.connect_to_vsphere