We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5215e6a commit 13ec7a2Copy full SHA for 13ec7a2
tests/test_helper.bash
@@ -1,11 +1,8 @@
1
#!/usr/bin/env bash
2
3
-# used to make sure we sleep for 20 seconds between tests to avoid rate limiting
4
-sleep 20
5
-
6
# To make the tests run faster, we don't wait between calls to DescribeStacks
7
# to check on the status of Create/Update.
8
-export STACKER_STACK_POLL_TIME=0
+export STACKER_STACK_POLL_TIME=2
9
10
if [ -z "$STACKER_NAMESPACE" ]; then
11
>&2 echo "To run these tests, you must set a STACKER_NAMESPACE environment variable"
@@ -46,6 +43,8 @@ assert_has_line() {
46
43
# information. If you need to execute the stacker binary _without_ calling
47
44
# "run", you can use "command stacker".
48
45
stacker() {
+ # Sleep between runs of stacker to try and avoid rate limiting issues.
+ sleep 2
49
echo "$ stacker $@"
50
run command stacker "$@"
51
echo "$output"
0 commit comments