From b6956c5c906d8bbcccf84a4faf53b68e85ba390b Mon Sep 17 00:00:00 2001 From: Madhu Rajanna Date: Thu, 2 Jul 2020 18:05:42 +0530 Subject: [PATCH] e2e: increase e2e test timeout as we are creating more resources as part of E2E teting, we need to increases the test timeout as it takes more time to run both cephfs and rbd tests Signed-off-by: Madhu Rajanna --- scripts/travis-functest.sh | 2 +- scripts/travis-helmtest.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/travis-functest.sh b/scripts/travis-functest.sh index 779378bc101..e99427ed888 100755 --- a/scripts/travis-functest.sh +++ b/scripts/travis-functest.sh @@ -39,7 +39,7 @@ if [[ "${KUBE_MAJOR}" -ge 1 ]] && [[ "${KUBE_MINOR}" -ge 17 ]]; then fi # functional tests -go test "${GO_TAGS}" github.com/ceph/ceph-csi/e2e --deploy-timeout=10 -timeout=40m --cephcsi-namespace=cephcsi-e2e-$RANDOM -v -mod=vendor +go test "${GO_TAGS}" github.com/ceph/ceph-csi/e2e --deploy-timeout=10 -timeout=60m --cephcsi-namespace=cephcsi-e2e-$RANDOM -v -mod=vendor if [[ "${KUBE_MAJOR}" -ge 1 ]] && [[ "${KUBE_MINOR}" -ge 17 ]]; then # delete snapshot CRD diff --git a/scripts/travis-helmtest.sh b/scripts/travis-helmtest.sh index 69af8a30259..6d7818c9b1d 100755 --- a/scripts/travis-helmtest.sh +++ b/scripts/travis-helmtest.sh @@ -49,7 +49,7 @@ scripts/install-helm.sh up # install cephcsi helm charts scripts/install-helm.sh install-cephcsi ${NAMESPACE} # functional tests -go test "${GO_TAGS}" github.com/ceph/ceph-csi/e2e -mod=vendor --deploy-timeout=10 -timeout=40m --cephcsi-namespace=${NAMESPACE} --deploy-cephfs=false --deploy-rbd=false -v +go test "${GO_TAGS}" github.com/ceph/ceph-csi/e2e -mod=vendor --deploy-timeout=10 -timeout=60m --cephcsi-namespace=${NAMESPACE} --deploy-cephfs=false --deploy-rbd=false -v #cleanup # skip snapshot operation if kube version is less than 1.17.0