1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

[aws|elb] eventually consistent, like me getting a haircut. ✌️

This commit is contained in:
Dylan Egan 2011-11-08 15:19:09 -05:00
parent 6c05616704
commit 09eb7484a1

View file

@ -54,7 +54,7 @@ Shindo.tests('AWS::ELB | models', ['aws', 'elb']) do
# Need to sleep here for IAM changes to propgate # Need to sleep here for IAM changes to propgate
tests('with ListenerDescriptions') do tests('with ListenerDescriptions') do
@certificate = Fog::AWS[:iam].upload_server_certificate(AWS::IAM::SERVER_CERT_PUBLIC_KEY, AWS::IAM::SERVER_CERT_PRIVATE_KEY, @key_name).body['Certificate'] @certificate = Fog::AWS[:iam].upload_server_certificate(AWS::IAM::SERVER_CERT_PUBLIC_KEY, AWS::IAM::SERVER_CERT_PRIVATE_KEY, @key_name).body['Certificate']
sleep(8) unless Fog.mocking? sleep(10) unless Fog.mocking?
listeners = [{ listeners = [{
'Listener' => { 'Listener' => {
'LoadBalancerPort' => 2030, 'InstancePort' => 2030, 'Protocol' => 'HTTP' 'LoadBalancerPort' => 2030, 'InstancePort' => 2030, 'Protocol' => 'HTTP'