From e236b0f56f748c888df23eeaf65478967ad852f1 Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Sun, 30 Aug 2020 13:39:42 +0200 Subject: Increase cassandra timeouts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit homestead-prov sometimes fails reaching cassandra 30-08-2020 10:33:44.064 UTC ERROR base.py:327: Translating internal error into a 503 status code 30-08-2020 10:34:32.257 UTC ERROR base.py:327: Translating internal error into a 503 status code Change-Id: I48566e39dca3dc9644733a76140a76300bbfd84e Signed-off-by: Cédric Ollivier --- functest_kubernetes/ims/cassandra-depl.yaml | 2 +- functest_kubernetes/ims/ims.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/functest_kubernetes/ims/cassandra-depl.yaml b/functest_kubernetes/ims/cassandra-depl.yaml index b2053ed5..da1ea97a 100644 --- a/functest_kubernetes/ims/cassandra-depl.yaml +++ b/functest_kubernetes/ims/cassandra-depl.yaml @@ -37,7 +37,7 @@ spec: exec: command: ["/bin/bash", "/usr/share/kubernetes/liveness.sh", "7000 9042 9160"] # Cassandra can take a very, very long time to start up - initialDelaySeconds: 600 + initialDelaySeconds: 1200 readinessProbe: exec: command: ["/bin/bash", "/usr/share/kubernetes/liveness.sh", "7000 9042 9160"] diff --git a/functest_kubernetes/ims/ims.py b/functest_kubernetes/ims/ims.py index 8c6cf2d5..72968b52 100644 --- a/functest_kubernetes/ims/ims.py +++ b/functest_kubernetes/ims/ims.py @@ -120,7 +120,7 @@ class Vims(testcase.TestCase): # pylint: disable=too-many-instance-attributes See https://github.com/Metaswitch/clearwater-live-test for more details """ - time.sleep(60) + time.sleep(120) container = client.V1Container( name=self.test_container_name, image=self.test_image_name, command=["rake", "test[{}]".format(self.zone), -- cgit 1.2.3-korg