From 41d0a21363d2d2348919cd01bd8a5ddb4ef0a95c Mon Sep 17 00:00:00 2001 From: Anatolii Bazko Date: Thu, 24 Oct 2024 10:08:15 +0200 Subject: [PATCH] chore: Update `--k8spodwaittimeout=240000` and and `--k8spodreadytimeout=240000` in tests (#2942) * chore: Update --k8spodwaittimeout=240000 and and --k8spodreadytimeout=240000 in tests 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 e364e1f5d..0aae0a9cb 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=120000', - '--k8spodreadytimeout=120000', + '--k8spodwaittimeout=240000', + '--k8spodreadytimeout=240000', ]) 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 ce903399c..5bb946e0f 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=120000 --k8spodreadytimeout=120000` + let deployCommand = `chectl server:deploy --batch --platform=${PLATFORM} --chenamespace=${NAMESPACE} --telemetry=off --k8spodwaittimeout=240000 --k8spodreadytimeout=240000` 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 a6deeb25d..6fa0e38cf 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=120000 --k8spodreadytimeout=120000` + let command = `${binChectl} server:deploy --batch --platform=${PLATFORM} --chenamespace=${EclipseChe.NAMESPACE} --telemetry=off --k8spodwaittimeout=240000 --k8spodreadytimeout=240000` if (PLATFORM === 'minikube') { command += ' --che-operator-cr-patch-yaml=test/e2e/resources/minikube-checluster-patch.yaml' }