Skip to content

Commit

Permalink
Add azure-cs-containerapps to tests
Browse files Browse the repository at this point in the history
Lock in the fixes in #1225.
  • Loading branch information
lukehoban committed Jun 7, 2022
1 parent 6167678 commit a04242b
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions misc/test/azure_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
//go:build Azure || all
// +build Azure all

package test

import (
Expand Down Expand Up @@ -30,6 +27,20 @@ func TestAccAzureCsAppService(t *testing.T) {
integration.ProgramTest(t, &test)
}

func TestAccAzureCsContainerApps(t *testing.T) {
test := getAzureBase(t).
With(integration.ProgramTestOptions{
Dir: path.Join(getCwd(t), "..", "..", "azure-cs-containerapps"),
ExtraRuntimeValidation: func(t *testing.T, stack integration.RuntimeValidationStackInfo) {
assertHTTPResult(t, stack.Outputs["url"].(string), nil, func(body string) bool {
return assert.Contains(t, body, "Azure Container Apps")
})
},
})

integration.ProgramTest(t, &test)
}

func TestAccAzureCsWebserver(t *testing.T) {
test := getAzureBase(t).
With(integration.ProgramTestOptions{
Expand Down

0 comments on commit a04242b

Please sign in to comment.