Skip to content

Commit 1732fe0

Browse files
authored
fix(integ): add endpoint to validate template integ tests (#2610)
<!-- Provide summary of changes --> Fixes yet another failure in template integ tests 😭 <!-- Issue number, if available. E.g. "Fixes #31", "Addresses #42, 77" --> By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
1 parent e374ce6 commit 1732fe0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

internal/pkg/deploy/cloudformation/stack/validate_template_integration_test.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ func TestAutoscalingIntegration_Validate(t *testing.T) {
3030
RepoURL: imageURL,
3131
ImageTag: imageTag,
3232
},
33+
ServiceDiscoveryEndpoint: "test.app.local",
3334
})
3435
require.NoError(t, err)
3536
tpl, err := serializer.Template()
@@ -54,7 +55,9 @@ func TestScheduledJob_Validate(t *testing.T) {
5455
require.NoError(t, err)
5556
v, ok := mft.(*manifest.ScheduledJob)
5657
require.True(t, ok)
57-
serializer, err := stack.NewScheduledJob(v, envName, appName, stack.RuntimeConfig{})
58+
serializer, err := stack.NewScheduledJob(v, envName, appName, stack.RuntimeConfig{
59+
ServiceDiscoveryEndpoint: "test.app.local",
60+
})
5861

5962
tpl, err := serializer.Template()
6063
require.NoError(t, err, "template should render")

0 commit comments

Comments
 (0)