mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[rackspace|lb] Use a non-default timeout so we are actually testing if the attribute was set
This commit is contained in:
parent
47a1a930fd
commit
667c473b7d
1 changed files with 2 additions and 2 deletions
|
@ -167,10 +167,10 @@ Shindo.tests('Fog::Rackspace::LoadBalancers | load_balancer', ['rackspace']) do
|
|||
tests('create(...with algorithm...)') do
|
||||
attributes = LOAD_BALANCER_ATTRIBUTES.clone
|
||||
attributes[:algorithm] = 'LEAST_CONNECTIONS'
|
||||
attributes[:timeout] = 30
|
||||
attributes[:timeout] = 60
|
||||
@lb = @service.load_balancers.create attributes
|
||||
returns('LEAST_CONNECTIONS') { @lb.algorithm }
|
||||
returns(30) { @lb.timeout }
|
||||
returns(60) { @lb.timeout }
|
||||
|
||||
@lb.wait_for { ready? }
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue