diff --git a/e2e/global/common/traits/builder_test.go b/e2e/global/common/traits/builder_test.go index 70ee0fcc2b..0cc958f76d 100644 --- a/e2e/global/common/traits/builder_test.go +++ b/e2e/global/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 e199c3d845..0d0f3b581b 100644 --- a/e2e/support/test_support.go +++ b/e2e/support/test_support.go @@ -1348,7 +1348,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{