Skip to content

Commit

Permalink
chore: Update --k8spodwaittimeout=240000 and and `--k8spodreadytime…
Browse files Browse the repository at this point in the history
…out=240000` in tests (#2942)

* chore: Update --k8spodwaittimeout=240000 and and --k8spodreadytimeout=240000 in tests

Signed-off-by: Anatolii Bazko <[email protected]>
  • Loading branch information
tolusha authored Oct 24, 2024
1 parent 9c29dbd commit 41d0a21
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions test/e2e/e2e-upgrade-channel.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/e2e-upgrade-version.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/e2e.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
Expand Down

0 comments on commit 41d0a21

Please sign in to comment.