mirror of
https://github.com/puppetlabs/vmpooler-provider-vsphere.git
synced 2026-03-26 23:47:43 -04:00
Update connect_to_vsphere specs to expect read_timeout and open_timeout args
This commit is contained in:
parent
bbf26502b9
commit
a10e06bcfa
1 changed files with 18 additions and 12 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue