Skip to content

Commit 6df21d6

Browse files
committed
Increase retry
1 parent b9aa181 commit 6df21d6

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

tests/main_test.go

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,16 +52,12 @@ func (s *ECSFargateSuite) SetupSuite() {
5252
"couldn't find resource": "ECS eventually consistent or task definition not yet propagated",
5353
},
5454
NoColor: true,
55-
MaxRetries: 5,
56-
TimeBetweenRetries: 5 * time.Second,
55+
MaxRetries: 6,
56+
TimeBetweenRetries: 15 * time.Second,
5757
}
5858

5959
// Run terraform init and apply
6060
terraform.InitAndApply(s.T(), s.terraformOptions)
61-
62-
// sleep for a few seconds to ensure resources are ready
63-
log.Println("Waiting for resources to be ready...")
64-
time.Sleep(10 * time.Second)
6561
}
6662

6763
// TearDownSuite is run once at the end of the test suite

0 commit comments

Comments
 (0)