Skip to content

Commit

Permalink
Re-enable azure-go-aci test (pulumi#1145)
Browse files Browse the repository at this point in the history
  • Loading branch information
stack72 committed Jan 4, 2022
1 parent 947273e commit 820ef6c
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions misc/test/azure_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build Azure || all
// +build Azure all

package test
Expand Down Expand Up @@ -65,11 +66,11 @@ func TestAccAzureGoAci(t *testing.T) {
With(integration.ProgramTestOptions{
Dir: path.Join(getCwd(t), "..", "..", "azure-go-aci"),
// TODO[pulumi/examples#1120]: Fix issue with extra runtime validation
// ExtraRuntimeValidation: func(t *testing.T, stack integration.RuntimeValidationStackInfo) {
// assertAppServiceResult(t, stack.Outputs["endpoint"], func(body string) bool {
// return assert.Contains(t, body, "Hello, containers!")
// })
// },
ExtraRuntimeValidation: func(t *testing.T, stack integration.RuntimeValidationStackInfo) {
assertAppServiceResult(t, stack.Outputs["containerIPv4Address"], func(body string) bool {
return assert.Contains(t, body, "Welcome to Azure Container Instances!")
})
},
})

integration.ProgramTest(t, &test)
Expand Down

0 comments on commit 820ef6c

Please sign in to comment.