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:36 +0200
commit756c696810bd88db5dfe181116e0480f66dda55c (patch)
treeef59c56db9644fd002460e4930b3bfe93f189fa6 /functest_kubernetes
parentdacc0f409d511ce20edcc02aec3a7ae37f930d1a (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 6b906622..772a4bfa 100644
--- a/functest_kubernetes/ims/ims.py
+++ b/functest_kubernetes/ims/ims.py
@@ -123,7 +123,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),