From 33cf136f244bf054e2de7ac33f3c587522d852e7 Mon Sep 17 00:00:00 2001 From: Anatolii Bazko Date: Thu, 4 Apr 2024 15:38:36 +0200 Subject: [PATCH] chore: Increase Che active waiting timeout Signed-off-by: Anatolii Bazko --- src/tasks/che-tasks.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tasks/che-tasks.ts b/src/tasks/che-tasks.ts index 97357d8fe..f977ededf 100644 --- a/src/tasks/che-tasks.ts +++ b/src/tasks/che-tasks.ts @@ -203,11 +203,11 @@ export namespace CheTasks { export function getWaitEclipseCheActiveTask(): Listr.ListrTask { 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)