From 1aeed8ecc31b8eb7d71229f6623087610584e515 Mon Sep 17 00:00:00 2001 From: dekiel Date: Wed, 9 Oct 2024 09:10:12 +0200 Subject: [PATCH] Fix expected flag --- cmd/image-builder/main_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cmd/image-builder/main_test.go b/cmd/image-builder/main_test.go index 6ebc6e094cb9..b881e81eabf2 100644 --- a/cmd/image-builder/main_test.go +++ b/cmd/image-builder/main_test.go @@ -248,7 +248,7 @@ func TestFlags(t *testing.T) { configPath: "/config/image-builder-config.yaml", dockerfile: "dockerfile", logDir: "/logs/artifacts", - tagsOutputFile: "/tmp/generated-tags.json", + tagsOutputFile: "/generated-tags.json", }, expectedErr: true, args: []string{ @@ -270,7 +270,7 @@ func TestFlags(t *testing.T) { logDir: "prow/logs", orgRepo: "kyma-project/test-infra", silent: true, - tagsOutputFile: "/tmp/generated-tags.json", + tagsOutputFile: "/generated-tags.json", }, args: []string{ "--config=config.yaml", @@ -292,7 +292,7 @@ func TestFlags(t *testing.T) { dockerfile: "dockerfile", logDir: "/logs/artifacts", exportTags: true, - tagsOutputFile: "/tmp/generated-tags.json", + tagsOutputFile: "/generated-tags.json", }, args: []string{ "--export-tags", @@ -309,7 +309,7 @@ func TestFlags(t *testing.T) { tags.Tag{Name: "BIN", Value: "test"}, tags.Tag{Name: "BIN2", Value: "test2"}, }, - tagsOutputFile: "/tmp/generated-tags.json", + tagsOutputFile: "/generated-tags.json", }, args: []string{ "--build-arg=BIN=test",