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 1edd749 commit c9477d4Copy full SHA for c9477d4
tests/main_test.go
@@ -9,6 +9,7 @@ import (
9
"log"
10
"os"
11
"testing"
12
+ "time"
13
14
"github.com/gruntwork-io/terratest/modules/terraform"
15
"github.com/stretchr/testify/suite"
@@ -52,6 +53,10 @@ func (s *ECSFargateSuite) SetupSuite() {
52
53
54
// Run terraform init and apply
55
terraform.InitAndApply(s.T(), s.terraformOptions)
56
+
57
+ // sleep for a few seconds to ensure resources are ready
58
+ log.Println("Waiting for resources to be ready...")
59
+ time.Sleep(10 * time.Second)
60
}
61
62
// TearDownSuite is run once at the end of the test suite
0 commit comments