Skip to content

Commit 8a4fd39

Browse files
authored
Update integration test (#139)
Followup to #138
1 parent a2e0207 commit 8a4fd39

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

internal/tests/internal/integration_test.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,14 @@ func TestIntegration(t *testing.T) {
4242
WithInput(
4343
testhelpers.NewTemporalWorkerDeploymentBuilder().
4444
WithManualStrategy().
45-
WithTargetTemplate("v1.0"),
45+
// Image name with banned characters (slash, colon) that will be replaced
46+
// with hyphens in the build ID. Dots and underscores are preserved.
47+
WithTargetTemplate("my.app/test/foo_bar:v1.0"),
4648
).
4749
WithWaitTime(5 * time.Second). // wait before checking to confirm no change
4850
WithExpectedStatus(
4951
testhelpers.NewStatusBuilder().
50-
WithTargetVersion("v1.0", temporaliov1alpha1.VersionStatusInactive, -1, true, false),
52+
WithTargetVersion("my.app/test/foo_bar:v1.0", temporaliov1alpha1.VersionStatusInactive, -1, true, false),
5153
),
5254
"all-at-once-rollout-2-replicas": testhelpers.NewTestCase().
5355
WithInput(

0 commit comments

Comments
 (0)