mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[AWS|ELB] fix backend server descriptions model test.
Reload the elb to pickup the latest descriptions.
This commit is contained in:
parent
80aaf1e254
commit
6ca9fd7a70
1 changed files with 1 additions and 1 deletions
|
@ -292,7 +292,7 @@ Shindo.tests('AWS::ELB | models', ['aws', 'elb']) do
|
|||
port = 80
|
||||
Fog::AWS[:elb].create_load_balancer_policy(elb.id, policy, 'ProxyProtocolPolicyType', { "ProxyProtocol" => true })
|
||||
Fog::AWS[:elb].set_load_balancer_policies_for_backend_server(elb.id, port, [policy]).body
|
||||
|
||||
elb.reload
|
||||
returns([policy]) { elb.backend_server_descriptions.get(port).policy_names }
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue