diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2020-08-30 13:39:42 +0200 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2020-08-30 13:41:55 +0200 |
commit | 968d9e9975d0471a0fc0b86d48365fc4cb88a677 (patch) | |
tree | 67042c423dbd57781f43652bc398f31c8de18440 | |
parent | 632b393b48f3871a3b79d5568177ba975c2b5217 (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)
-rw-r--r-- | functest_kubernetes/ims/cassandra-depl.yaml | 2 | ||||
-rw-r--r-- | 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), |