Skip to content

Commit

Permalink
Fix tests by increasing timeout
Browse files Browse the repository at this point in the history
Signed-off-by: Anatolii Bazko <[email protected]>
  • Loading branch information
tolusha committed Nov 12, 2024
1 parent 4c1ba76 commit a672f37
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=240000',
'--k8spodreadytimeout=240000',
'--k8spodwaittimeout=600000',
'--k8spodreadytimeout=600000',
])

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=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'
}
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=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'
}
Expand Down

0 comments on commit a672f37

Please sign in to comment.