Skip to content

Commit

Permalink
chore: Fix flaky non-olm install E2E tests
Browse files Browse the repository at this point in the history
  • Loading branch information
christophd authored and oscerd committed Apr 26, 2023
1 parent 6c24a80 commit 707fbed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion e2e/install/cli/global_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down
2 changes: 1 addition & 1 deletion e2e/install/cli/install_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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())
})
}
Expand Down

0 comments on commit 707fbed

Please sign in to comment.