From a672f37b6d6bed44b5608146f237eb80e08c1737 Mon Sep 17 00:00:00 2001 From: Anatolii Bazko Date: Tue, 12 Nov 2024 14:55:32 +0100 Subject: [PATCH] Fix tests by increasing timeout Signed-off-by: Anatolii Bazko --- test/e2e/e2e-upgrade-channel.test.ts | 4 ++-- test/e2e/e2e-upgrade-version.test.ts | 2 +- test/e2e/e2e.test.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/e2e/e2e-upgrade-channel.test.ts b/test/e2e/e2e-upgrade-channel.test.ts index 0aae0a9cb..d4bf66c26 100644 --- a/test/e2e/e2e-upgrade-channel.test.ts +++ b/test/e2e/e2e-upgrade-channel.test.ts @@ -32,8 +32,8 @@ describe('Upgrade channel test', () => { `--chenamespace=${EclipseChe.NAMESPACE}`, '--che-operator-cr-patch-yaml=test/e2e/resources/minikube-checluster-patch.yaml', '--telemetry=off', - '--k8spodwaittimeout=240000', - '--k8spodreadytimeout=240000', + '--k8spodwaittimeout=600000', + '--k8spodreadytimeout=600000', ]) await helper.waitForCheServerImageTag(helper.getNewVersion(), TIMEOUT_MS) diff --git a/test/e2e/e2e-upgrade-version.test.ts b/test/e2e/e2e-upgrade-version.test.ts index 5bb946e0f..1b3d8cd15 100644 --- a/test/e2e/e2e-upgrade-version.test.ts +++ b/test/e2e/e2e-upgrade-version.test.ts @@ -26,7 +26,7 @@ describe('Test Che upgrade', () => { it(`Deploy Che using operator installer and self signed certificates`, async () => { // uses installed chectl (from a stable channel) // see github workflow - let deployCommand = `chectl server:deploy --batch --platform=${PLATFORM} --chenamespace=${NAMESPACE} --telemetry=off --k8spodwaittimeout=240000 --k8spodreadytimeout=240000` + let deployCommand = `chectl server:deploy --batch --platform=${PLATFORM} --chenamespace=${NAMESPACE} --telemetry=off --k8spodwaittimeout=600000 --k8spodreadytimeout=600000` if (PLATFORM === 'minikube') { deployCommand += ' --che-operator-cr-patch-yaml=test/e2e/resources/minikube-checluster-patch.yaml' } diff --git a/test/e2e/e2e.test.ts b/test/e2e/e2e.test.ts index 6fa0e38cf..b31dd0fa6 100644 --- a/test/e2e/e2e.test.ts +++ b/test/e2e/e2e.test.ts @@ -24,7 +24,7 @@ const binChectl = E2eHelper.getChectlBinaries() const PLATFORM = process.env.PLATFORM || '' function getDeployCommand(): string { - let command = `${binChectl} server:deploy --batch --platform=${PLATFORM} --chenamespace=${EclipseChe.NAMESPACE} --telemetry=off --k8spodwaittimeout=240000 --k8spodreadytimeout=240000` + let command = `${binChectl} server:deploy --batch --platform=${PLATFORM} --chenamespace=${EclipseChe.NAMESPACE} --telemetry=off --k8spodwaittimeout=600000 --k8spodreadytimeout=600000` if (PLATFORM === 'minikube') { command += ' --che-operator-cr-patch-yaml=test/e2e/resources/minikube-checluster-patch.yaml' }