From 72ce5371a924f16662447da5e9d69d082158586f Mon Sep 17 00:00:00 2001 From: Pasquale Congiusti Date: Thu, 2 Feb 2023 13:12:12 +0100 Subject: [PATCH] chore: rename test func --- e2e/common/traits/builder_test.go | 2 +- e2e/support/test_support.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/e2e/common/traits/builder_test.go b/e2e/common/traits/builder_test.go index 70ee0fcc2b..0cc958f76d 100644 --- a/e2e/common/traits/builder_test.go +++ b/e2e/common/traits/builder_test.go @@ -49,7 +49,7 @@ func TestBuilderTrait(t *testing.T) { integrationKitName := IntegrationKit(ns, name)() builderKitName := fmt.Sprintf("camel-k-%s-builder", integrationKitName) - Eventually(Pod(ns, builderKitName), TestTimeoutShort).Should(Not(BeNil())) + Eventually(BuilderPod(ns, builderKitName), TestTimeoutShort).Should(Not(BeNil())) Expect(Kamel("delete", "--all", "-n", ns).Execute()).To(Succeed()) }) diff --git a/e2e/support/test_support.go b/e2e/support/test_support.go index 015bc06dc3..28d0d4bc10 100644 --- a/e2e/support/test_support.go +++ b/e2e/support/test_support.go @@ -1349,7 +1349,7 @@ func Configmap(ns string, name string) func() *corev1.ConfigMap { } } -func Pod(ns string, name string) func() *corev1.Pod { +func BuilderPod(ns string, name string) func() *corev1.Pod { return func() *corev1.Pod { pod := corev1.Pod{ TypeMeta: metav1.TypeMeta{