diff --git a/e2e/namespace/install/cli/global_test.go b/e2e/namespace/install/cli/global_test.go index 12943ef7af..24b25f6457 100644 --- a/e2e/namespace/install/cli/global_test.go +++ b/e2e/namespace/install/cli/global_test.go @@ -142,7 +142,7 @@ func TestRunGlobalInstall(t *testing.T) { Expect(TestClient().Create(TestContext, &externalKit)).Should(BeNil()) Expect(KamelRun(ns5, "files/Java.java", "--name", "ext", "--kit", "external").Execute()).To(Succeed()) - Eventually(IntegrationPodPhase(ns5, "java"), TestTimeoutLong).Should(Equal(corev1.PodRunning)) + Eventually(IntegrationPodPhase(ns5, "ext"), TestTimeoutLong).Should(Equal(corev1.PodRunning)) Eventually(IntegrationLogs(ns5, "ext"), TestTimeoutShort).Should(ContainSubstring("Magicstring!")) Expect(IntegrationKit(ns5, "ext")()).Should(Equal("external")) Expect(Kamel("delete", "--all", "-n", ns5).Execute()).To(Succeed()) diff --git a/e2e/namespace/install/cli/install_test.go b/e2e/namespace/install/cli/install_test.go index ff0b98e173..b46452496c 100644 --- a/e2e/namespace/install/cli/install_test.go +++ b/e2e/namespace/install/cli/install_test.go @@ -66,7 +66,7 @@ func TestKitMainInstallation(t *testing.T) { WithNewTestNamespace(t, func(ns string) { operatorID := fmt.Sprintf("camel-k-%s", ns) Expect(KamelInstallWithID(operatorID, ns).Execute()).To(Succeed()) - Expect(Kamel("kit", "create", "timer", "-d", "camel:timer", "-n", ns).Execute()).To(Succeed()) + Expect(Kamel("kit", "create", "timer", "-d", "camel:timer", "-x", operatorID, "-n", ns).Execute()).To(Succeed()) Eventually(Build(ns, "timer"), TestTimeoutMedium).ShouldNot(BeNil()) }) }