Skip to content

Commit e29c346

Browse files
authored
Fix aws-py-s3-folder test (#275)
1 parent 5bfd4ed commit e29c346

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

misc/test/examples_test.go

+3-2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import (
88
"net/http"
99
"os"
1010
"path"
11+
"path/filepath"
1112
"strings"
1213
"testing"
1314
"time"
@@ -75,7 +76,7 @@ func TestExamples(t *testing.T) {
7576
"aws:region": awsRegion,
7677
},
7778
ExtraRuntimeValidation: func(t *testing.T, stack integration.RuntimeValidationStackInfo) {
78-
assertHTTPResult(t, "http://"+stack.Outputs["websiteUrl"].(string), func(body string) bool {
79+
assertHTTPResult(t, "http://"+stack.Outputs["website_url"].(string), func(body string) bool {
7980
return assert.Contains(t, body, "Hello, Pulumi!")
8081
})
8182
},
@@ -417,7 +418,7 @@ func TestExamples(t *testing.T) {
417418

418419
for _, ex := range tests {
419420
example := ex
420-
t.Run(example.Dir, func(t *testing.T) {
421+
t.Run(filepath.Base(example.Dir), func(t *testing.T) {
421422
integration.ProgramTest(t, &example)
422423
})
423424
}

0 commit comments

Comments
 (0)