From e2fb6168369edad9bdd9b2cf1fc268ee3d6ad4c3 Mon Sep 17 00:00:00 2001 From: Medya Gh Date: Wed, 10 Jul 2024 15:33:22 -0700 Subject: [PATCH] fix tag --- test/integration/functional_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/integration/functional_test.go b/test/integration/functional_test.go index a8c06e7bc5..cb5dc5c554 100644 --- a/test/integration/functional_test.go +++ b/test/integration/functional_test.go @@ -230,7 +230,7 @@ func validateNodeLabels(ctx context.Context, t *testing.T, profile string) { // tagAndLoadImage is a helper function to pull, tag, load image (decreases cyclomatic complexity for linter). func tagAndLoadImage(ctx context.Context, t *testing.T, profile, taggedImage string) { - newPulledImage := fmt.Sprintf("%s:%s", echoServerImg, "2.0") + newPulledImage := fmt.Sprintf("%s:%s", echoServerImg, "latest") rr, err := Run(t, exec.CommandContext(ctx, "docker", "pull", newPulledImage)) if err != nil { t.Fatalf("failed to setup test (pull image): %v\n%s", err, rr.Output()) @@ -337,7 +337,7 @@ func validateImageCommands(ctx context.Context, t *testing.T, profile string) { t.Fatalf("failed to get absolute path of file %q: %v", imageFile, err) } - pulledImage := fmt.Sprintf("%s:%s", echoServerImg, "2.0") + pulledImage := fmt.Sprintf("%s:%s", echoServerImg, "1.0") rr, err := Run(t, exec.CommandContext(ctx, "docker", "pull", pulledImage)) if err != nil { t.Fatalf("failed to setup test (pull image): %v\n%s", err, rr.Output())