aboutsummaryrefslogtreecommitdiffstats
path: root/functest_kubernetes
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2020-08-30 13:39:42 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2020-08-30 13:42:14 +0200
commit80eb33bd1515414af76afab8f469a46e491d8857 (patch)
tree87e86b9506abfb853d843f5dfdcfd65b9e720ffb /functest_kubernetes
parent82ab5fc6828a38bf8c5ed16c7dcb0694c6f628a0 (diff)
Increase cassandra timeouts
homestead-prov sometimes fails reaching cassandra 30-08-2020 10:33:44.064 UTC ERROR base.py:327: Translating internal <class 'telephus.cassandra.ttypes.TimedOutException'> error into a 503 status code 30-08-2020 10:34:32.257 UTC ERROR base.py:327: Translating internal <class 'telephus.cassandra.ttypes.TimedOutException'> error into a 503 status code Change-Id: I48566e39dca3dc9644733a76140a76300bbfd84e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit e236b0f56f748c888df23eeaf65478967ad852f1)
Diffstat (limited to 'functest_kubernetes')
-rw-r--r--functest_kubernetes/ims/cassandra-depl.yaml2
-rw-r--r--functest_kubernetes/ims/ims.py2
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 54a961ea..b741f6b6 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),