From 820ef6c7411ad0dfcabf2fff70e13992c5fe15e3 Mon Sep 17 00:00:00 2001 From: Paul Stack Date: Tue, 4 Jan 2022 21:30:20 +0000 Subject: [PATCH] Re-enable azure-go-aci test (#1145) --- misc/test/azure_test.go | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/misc/test/azure_test.go b/misc/test/azure_test.go index 423863818..3cb85dc1a 100644 --- a/misc/test/azure_test.go +++ b/misc/test/azure_test.go @@ -1,3 +1,4 @@ +//go:build Azure || all // +build Azure all package test @@ -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)