Skip to content

Commit

Permalink
Fix gcp-py-functions test
Browse files Browse the repository at this point in the history
  • Loading branch information
lukehoban committed Oct 15, 2019
1 parent 2944670 commit 335862a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions misc/test/examples_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -859,9 +859,9 @@ func TestAccGcpPyFunctions(t *testing.T) {
With(integration.ProgramTestOptions{
Dir: path.Join(getCwd(t), "..", "..", "gcp-py-functions"),
ExtraRuntimeValidation: func(t *testing.T, stack integration.RuntimeValidationStackInfo) {
endpoint := stack.Outputs["instanceIP"].(string)
endpoint := stack.Outputs["fxn_url"].(string)
assertHTTPResult(t, endpoint, nil, func(body string) bool {
return assert.Contains(t, body, "Hello, World!")
return assert.Contains(t, body, "Space Needle, Seattle, WA")
})
},
})
Expand Down

0 comments on commit 335862a

Please sign in to comment.