From 8d885bbef0d28e8e02090f4074776981fc52ac96 Mon Sep 17 00:00:00 2001 From: Slawomir Chylek Date: Mon, 18 Feb 2019 11:58:35 +0000 Subject: [PATCH] VPA - fix names of files with junit test results --- vertical-pod-autoscaler/e2e/v1beta1/e2e.go | 2 +- vertical-pod-autoscaler/e2e/v1beta2/e2e.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/vertical-pod-autoscaler/e2e/v1beta1/e2e.go b/vertical-pod-autoscaler/e2e/v1beta1/e2e.go index 1e010826d504..280fb9d977a2 100644 --- a/vertical-pod-autoscaler/e2e/v1beta1/e2e.go +++ b/vertical-pod-autoscaler/e2e/v1beta1/e2e.go @@ -227,7 +227,7 @@ func RunE2ETests(t *testing.T) { if err := os.MkdirAll(framework.TestContext.ReportDir, 0755); err != nil { glog.Errorf("Failed creating report directory: %v", err) } else { - r = append(r, reporters.NewJUnitReporter(path.Join(framework.TestContext.ReportDir, fmt.Sprintf("v1_beta1_junit_%v%02d.xml", framework.TestContext.ReportPrefix, config.GinkgoConfig.ParallelNode)))) + r = append(r, reporters.NewJUnitReporter(path.Join(framework.TestContext.ReportDir, "junit_02.xml"))) } } glog.Infof("Starting e2e run %q on Ginkgo node %d", framework.RunId, config.GinkgoConfig.ParallelNode) diff --git a/vertical-pod-autoscaler/e2e/v1beta2/e2e.go b/vertical-pod-autoscaler/e2e/v1beta2/e2e.go index 57f422e1ce3f..e6ead17e2750 100644 --- a/vertical-pod-autoscaler/e2e/v1beta2/e2e.go +++ b/vertical-pod-autoscaler/e2e/v1beta2/e2e.go @@ -227,7 +227,7 @@ func RunE2ETests(t *testing.T) { if err := os.MkdirAll(framework.TestContext.ReportDir, 0755); err != nil { glog.Errorf("Failed creating report directory: %v", err) } else { - r = append(r, reporters.NewJUnitReporter(path.Join(framework.TestContext.ReportDir, fmt.Sprintf("junit_%v%02d.xml", framework.TestContext.ReportPrefix, config.GinkgoConfig.ParallelNode)))) + r = append(r, reporters.NewJUnitReporter(path.Join(framework.TestContext.ReportDir, "junit_01.xml"))) } } glog.Infof("Starting e2e run %q on Ginkgo node %d", framework.RunId, config.GinkgoConfig.ParallelNode)