This is an automated email from the ASF dual-hosted git repository. tsato pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-k.git
commit 69cdfc25e53bd3b4d41f10875eefd54a74365850 Author: Tadayoshi Sato <sato.tadayo...@gmail.com> AuthorDate: Fri Jul 15 22:12:22 2022 +0900 chore(e2e): more namespace reuse for e2e/global/common --- e2e/global/common/traits/service_test.go | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/e2e/global/common/traits/service_test.go b/e2e/global/common/traits/service_test.go index 21fcd8fc7..12ae21a56 100644 --- a/e2e/global/common/traits/service_test.go +++ b/e2e/global/common/traits/service_test.go @@ -32,7 +32,7 @@ import ( . "github.com/apache/camel-k/e2e/support" ) -func TestServiceTraitNodePort(t *testing.T) { +func TestServiceTrait(t *testing.T) { WithNewTestNamespace(t, func(ns string) { operatorID := "camel-k-trait-service" Expect(KamelInstallWithID(operatorID, ns).Execute()).To(Succeed()) @@ -51,16 +51,10 @@ func TestServiceTraitNodePort(t *testing.T) { Expect(Kamel("delete", "--all", "-n", ns).Execute()).To(Succeed()) }) - }) -} - -func TestServiceTraitDefault(t *testing.T) { - WithNewTestNamespace(t, func(ns string) { - Expect(KamelInstall(ns).Execute()).To(Succeed()) t.Run("Default service (ClusterIP)", func(t *testing.T) { // Service trait is enabled by default - Expect(KamelRun(ns, "files/PlatformHttpServer.java").Execute()).To(Succeed()) + Expect(KamelRunWithID(operatorID, ns, "files/PlatformHttpServer.java").Execute()).To(Succeed()) Eventually(IntegrationPodPhase(ns, "platform-http-server"), TestTimeoutLong).Should(Equal(corev1.PodRunning)) //