You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pekko.apache.org by fa...@apache.org on 2024/09/26 15:33:35 UTC

(pekko-management) branch main updated: double timeout on flaky test (#314)

This is an automated email from the ASF dual-hosted git repository.

fanningpj pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pekko-management.git


The following commit(s) were added to refs/heads/main by this push:
     new 6f970c64 double timeout on flaky test (#314)
6f970c64 is described below

commit 6f970c641f98490909f9404a81045887363bac3e
Author: PJ Fanning <pj...@users.noreply.github.com>
AuthorDate: Thu Sep 26 16:33:29 2024 +0100

    double timeout on flaky test (#314)
---
 .../apache/pekko/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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pekko.apache.org
For additional commands, e-mail: commits-help@pekko.apache.org