You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2023/04/26 07:08:39 UTC
[camel-k] 03/03: chore: Fix flaky non-olm install E2E tests
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git
commit 707fbed5caf722e53b38af3ead749114673614a0
Author: Christoph Deppisch <cd...@redhat.com>
AuthorDate: Tue Apr 25 11:04:45 2023 +0200
chore: Fix flaky non-olm install E2E tests
---
e2e/install/cli/global_test.go | 2 +-
e2e/install/cli/install_test.go | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/e2e/install/cli/global_test.go b/e2e/install/cli/global_test.go
index a5bc47953..e92e9bc88 100644
--- a/e2e/install/cli/global_test.go
+++ b/e2e/install/cli/global_test.go
@@ -163,7 +163,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/install/cli/install_test.go b/e2e/install/cli/install_test.go
index bba622798..40f52afc8 100644
--- a/e2e/install/cli/install_test.go
+++ b/e2e/install/cli/install_test.go
@@ -123,7 +123,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())
})
}