From 66bccd8295d963919c37b37308797bd88d7768cd Mon Sep 17 00:00:00 2001 From: PJ Fanning Date: Thu, 26 Sep 2024 14:00:54 +0100 Subject: [PATCH] double timeout on flaky test --- .../coordination/lease/kubernetes/KubernetesApiSpec.scala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lease-kubernetes/src/test/scala/org/apache/pekko/coordination/lease/kubernetes/KubernetesApiSpec.scala b/lease-kubernetes/src/test/scala/org/apache/pekko/coordination/lease/kubernetes/KubernetesApiSpec.scala index 8a5b4ab1..3ca018ea 100644 --- a/lease-kubernetes/src/test/scala/org/apache/pekko/coordination/lease/kubernetes/KubernetesApiSpec.scala +++ b/lease-kubernetes/src/test/scala/org/apache/pekko/coordination/lease/kubernetes/KubernetesApiSpec.scala @@ -60,7 +60,8 @@ class KubernetesApiSpec WireMock.configureFor(settings.apiServerPort) - implicit val patience: PatienceConfig = PatienceConfig(testKitSettings.DefaultTimeout.duration) + // double the default timeout for CI (https://github.com/apache/pekko-management/issues/216) + implicit val patience: PatienceConfig = PatienceConfig(testKitSettings.DefaultTimeout.duration.*(2)) val underTest = new KubernetesApiImpl(system, settings) { // avoid touching slow CI filesystem