From b0413aabe76178c15e64a2b16f8639cb787499cf Mon Sep 17 00:00:00 2001 From: Piotr Zaniewski Date: Wed, 17 May 2023 13:07:31 +0200 Subject: [PATCH] Make test resource name more uniq and unlikely to be duplicated --- cmd/perf/internal/managed/managed.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/perf/internal/managed/managed.go b/cmd/perf/internal/managed/managed.go index 842cc7b..490f5cd 100644 --- a/cmd/perf/internal/managed/managed.go +++ b/cmd/perf/internal/managed/managed.go @@ -88,7 +88,7 @@ func applyResources(mrTemplatePaths map[string]int) (string, error) { } for i := 1; i <= count; i++ { - m["metadata"].(map[interface{}]interface{})["name"] = fmt.Sprintf("test%d", i) + m["metadata"].(map[interface{}]interface{})["name"] = fmt.Sprintf("testperfrun%d", i) b, err := yaml.Marshal(m) if err != nil {