From 10a5ae69b35bd7cc4542234f395c30ca214ca5a6 Mon Sep 17 00:00:00 2001 From: Jason Hall Date: Sat, 16 Jul 2022 02:48:16 -0400 Subject: [PATCH] use fake version matching testdata --- pkg/pod/pod_test.go | 2 +- pkg/reconciler/taskrun/taskrun_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/pod/pod_test.go b/pkg/pod/pod_test.go index 7bc11d6c721..058346606b9 100644 --- a/pkg/pod/pod_test.go +++ b/pkg/pod/pod_test.go @@ -69,7 +69,7 @@ var ( volumeMountSort = cmpopts.SortSlices(func(i, j corev1.VolumeMount) bool { return i.Name < j.Name }) ) -const fakeVersion = "0000000000000000000000000000000000000000" +const fakeVersion = "a728ce3" func init() { os.Setenv("KO_DATA_PATH", "./testdata/") diff --git a/pkg/reconciler/taskrun/taskrun_test.go b/pkg/reconciler/taskrun/taskrun_test.go index 3e21cc42239..422bf5d408b 100644 --- a/pkg/reconciler/taskrun/taskrun_test.go +++ b/pkg/reconciler/taskrun/taskrun_test.go @@ -402,7 +402,7 @@ var ( } ) -const fakeVersion string = "0000000000000000000000000000000000000000" +const fakeVersion string = "a728ce3" func placeToolsInitContainer(steps []string) corev1.Container { return corev1.Container{