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 committed May 2, 2023
1 parent 3bc5c87 commit c99f924
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion e2e/namespace/install/cli/global_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down
2 changes: 1 addition & 1 deletion e2e/namespace/install/cli/install_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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())
})
}
Expand Down

0 comments on commit c99f924

Please sign in to comment.