pull/19236/head
Medya Gh 2024-07-10 15:33:22 -07:00 committed by Medya Ghazizadeh
parent 041c86d464
commit e2fb616836
1 changed files with 2 additions and 2 deletions
test/integration

View File

@ -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())