Skip to content

Commit

Permalink
chore: Increase Che active waiting timeout
Browse files Browse the repository at this point in the history
Signed-off-by: Anatolii Bazko <[email protected]>
  • Loading branch information
tolusha committed Apr 4, 2024
1 parent a3edb71 commit 33cf136
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tasks/che-tasks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -203,11 +203,11 @@ export namespace CheTasks {
export function getWaitEclipseCheActiveTask(): Listr.ListrTask<any> {
return {
title: `Wait ${EclipseChe.PRODUCT_NAME} active`,
task: async (ctx: any, task: any) => {
task: async (_ctx: any, task: any) => {
const flags = CheCtlContext.getFlags()
const kubeHelper = KubeClient.getInstance()

for (let i = 0; i < 120; i++) {
for (let i = 0; i < 240; i++) {
const cheCluster = await kubeHelper.getCheCluster(flags[CHE_NAMESPACE_FLAG])
if (cheCluster?.status?.chePhase !== 'Active' || !cheCluster?.status?.cheVersion) {
await sleep(500)
Expand Down

0 comments on commit 33cf136

Please sign in to comment.