Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-enable aws-go-fargate test #1142

Merged
merged 1 commit into from
Jan 4, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Re-enable aws-go-fargate test
Fixes: #1130
  • Loading branch information
stack72 committed Jan 4, 2022
commit 0d33916be0c75c9c26d72367cfb53c0b1e99c31c
10 changes: 1 addition & 9 deletions misc/test/aws_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build Aws || all
// +build Aws all

package test
Expand Down Expand Up @@ -47,18 +48,9 @@ func TestAccAwsGoEks(t *testing.T) {
}

func TestAccAwsGoFargate(t *testing.T) {
// TODO[pulumi/examples#1130]: Reenable test
t.Skip(`Skip due to failure: "63" does not contain "Welcome to nginx!"`)
test := getAWSBase(t).
With(integration.ProgramTestOptions{
Dir: path.Join(getCwd(t), "..", "..", "aws-go-fargate"),
ExtraRuntimeValidation: func(t *testing.T, stack integration.RuntimeValidationStackInfo) {
maxWait := 10 * time.Minute
endpoint := stack.Outputs["url"].(string)
assertHTTPResultWithRetry(t, endpoint, nil, maxWait, func(body string) bool {
return assert.Contains(t, body, "Welcome to nginx!")
})
},
})

integration.ProgramTest(t, &test)
Expand Down