This is an automated email from the ASF dual-hosted git repository. astefanutti pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-k.git
commit 0b384991485fe29076efba6fb131d09a3d2f6542 Author: phantomjinx <[email protected]> AuthorDate: Wed Dec 8 10:09:42 2021 +0000 Increases test timeout for building, installing ... --- e2e/common/cli/install_test.go | 2 +- e2e/common/traits/health_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/e2e/common/cli/install_test.go b/e2e/common/cli/install_test.go index 612ab75..3b4d061 100644 --- a/e2e/common/cli/install_test.go +++ b/e2e/common/cli/install_test.go @@ -49,7 +49,7 @@ func TestKitMainInstallation(t *testing.T) { WithNewTestNamespace(t, func(ns string) { Expect(Kamel("install", "-n", ns).Execute()).To(Succeed()) Expect(Kamel("kit", "create", "timer", "-d", "camel:timer", "-n", ns).Execute()).To(Succeed()) - Eventually(Build(ns, "timer")).ShouldNot(BeNil()) + Eventually(Build(ns, "timer"), TestTimeoutMedium).ShouldNot(BeNil()) }) } diff --git a/e2e/common/traits/health_test.go b/e2e/common/traits/health_test.go index ccd602c..353a6e5 100644 --- a/e2e/common/traits/health_test.go +++ b/e2e/common/traits/health_test.go @@ -74,7 +74,7 @@ func TestHealthTrait(t *testing.T) { // Check the ready condition has turned falsy Eventually(IntegrationConditionStatus(ns, "java", v1.IntegrationConditionReady), TestTimeoutShort).Should(Equal(corev1.ConditionFalse)) // And it contains details about the runtime state - Eventually(IntegrationCondition(ns, "java", v1.IntegrationConditionReady)).Should(And( + Eventually(IntegrationCondition(ns, "java", v1.IntegrationConditionReady), TestTimeoutMedium).Should(And( WithTransform(IntegrationConditionReason, Equal(v1.IntegrationConditionRuntimeNotReadyReason)), WithTransform(IntegrationConditionMessage, HavePrefix(fmt.Sprintf("[Pod %s runtime is not ready: map[consumer:route1:DOWN context:UP", pod.Name))), ))
