Skip to content

Commit

Permalink
fix: add unique tag to test image to avoid collisions with other test…
Browse files Browse the repository at this point in the history
…s using the same image
  • Loading branch information
renzodavid9 committed Nov 14, 2022
1 parent d25a9bb commit a34604b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions integration/run_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import (
"testing"
"time"

"github.com/google/uuid"
"k8s.io/apimachinery/pkg/util/wait"

"github.com/GoogleContainerTools/skaffold/integration/skaffold"
Expand Down Expand Up @@ -396,6 +397,8 @@ func TestRunGCPOnly(t *testing.T) {
t.Run(test.description, func(t *testing.T) {
ns, client := SetupNamespace(t)

test.args = append(test.args, "--tag", uuid.New().String())

skaffold.Run(test.args...).InDir(test.dir).InNs(ns.Name).RunOrFail(t)

client.WaitForPodsReady(test.pods...)
Expand Down

0 comments on commit a34604b

Please sign in to comment.