aboutsummaryrefslogtreecommitdiffstats
path: root/functest_kubernetes/ims
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:39:42 +0200
commite236b0f56f748c888df23eeaf65478967ad852f1 (patch)
treed8f899f822106cb78babd3ff51761e590c7489a5 /functest_kubernetes/ims
parent1f720b0fabbcf162366160a4fa9a46807e53f8bc (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>
Diffstat (limited to 'functest_kubernetes/ims')
-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 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),