diff --git a/e2e/knative/knative_test.go b/e2e/knative/knative_test.go index cd655f0f8a..b2fc7856b5 100644 --- a/e2e/knative/knative_test.go +++ b/e2e/knative/knative_test.go @@ -56,19 +56,6 @@ func TestRunServiceCombo(t *testing.T) { }) } -func TestRunChannelComboV1Alpha1(t *testing.T) { - WithNewTestNamespace(t, func(ns string) { - Expect(CreateKnativeChannelv1Alpha1(ns, "messages")()).To(Succeed()) - Expect(Kamel("install", "-n", ns, "--trait-profile", "knative").Execute()).To(Succeed()) - Expect(Kamel("run", "-n", ns, "files/knativech2.groovy").Execute()).To(Succeed()) - Expect(Kamel("run", "-n", ns, "files/knativech1.groovy").Execute()).To(Succeed()) - Eventually(IntegrationPodPhase(ns, "knativech2"), TestTimeoutLong).Should(Equal(v1.PodRunning)) - Eventually(IntegrationPodPhase(ns, "knativech1"), TestTimeoutLong).Should(Equal(v1.PodRunning)) - Eventually(IntegrationLogs(ns, "knativech2"), TestTimeoutMedium).Should(ContainSubstring("Received: Hello from knativech1")) - Expect(Kamel("delete", "--all", "-n", ns).Execute()).To(Succeed()) - }) -} - func TestRunChannelComboV1Beta1(t *testing.T) { WithNewTestNamespace(t, func(ns string) { Expect(CreateKnativeChannelv1Beta1(ns, "messages")()).To(Succeed()) diff --git a/e2e/support/test_support.go b/e2e/support/test_support.go index 39a77c21da..aa8c919ea7 100644 --- a/e2e/support/test_support.go +++ b/e2e/support/test_support.go @@ -1021,22 +1021,6 @@ func CreateKamelPod(ns string, name string, command ...string) error { Knative */ -func CreateKnativeChannelv1Alpha1(ns string, name string) func() error { - return func() error { - channel := messaging.InMemoryChannel{ - TypeMeta: metav1.TypeMeta{ - Kind: "InMemoryChannel", - APIVersion: messaging.SchemeGroupVersion.String(), - }, - ObjectMeta: metav1.ObjectMeta{ - Namespace: ns, - Name: name, - }, - } - return TestClient().Create(TestContext, &channel) - } -} - func CreateKnativeChannelv1Beta1(ns string, name string) func() error { return func() error { channel := messaging.InMemoryChannel{