From a58ac4d52e753f5db029f7e687609c99a29dc3a8 Mon Sep 17 00:00:00 2001 From: geemus Date: Wed, 11 May 2011 11:15:28 -0700 Subject: [PATCH] [aws|cloudformation] tests sleep to avoid throttling error :( --- tests/aws/requests/cloud_formation/stack_tests.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/aws/requests/cloud_formation/stack_tests.rb b/tests/aws/requests/cloud_formation/stack_tests.rb index 98694ac7e..c91719733 100644 --- a/tests/aws/requests/cloud_formation/stack_tests.rb +++ b/tests/aws/requests/cloud_formation/stack_tests.rb @@ -113,6 +113,8 @@ Shindo.tests('AWS::CloudFormation | stack requests', ['aws', 'cloudformation']) AWS[:cloud_formation].describe_stacks.body end + sleep(1) # avoid throttling + tests("describe_stack_events('#{@stack_name}')").formats(@describe_stack_events_format) do pending if Fog.mocking? AWS[:cloud_formation].describe_stack_events(@stack_name).body