Skip to content

Commit

Permalink
fix: Increase waiting che active timeout (#2870)
Browse files Browse the repository at this point in the history
Signed-off-by: Anatolii Bazko <[email protected]>
  • Loading branch information
tolusha authored Apr 25, 2024
1 parent 5e809d2 commit 5459950
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 @@ -207,10 +207,10 @@ export namespace CheTasks {
const flags = CheCtlContext.getFlags()
const kubeHelper = KubeClient.getInstance()

for (let i = 0; i < 240; i++) {
for (let i = 0; i < 300; i++) {
const cheCluster = await kubeHelper.getCheCluster(flags[CHE_NAMESPACE_FLAG])
if (cheCluster?.status?.chePhase !== 'Active' || !cheCluster?.status?.cheVersion) {
await sleep(500)
await sleep(1000)
} else {
task.title = `${task.title}...[OK]`
return
Expand Down

0 comments on commit 5459950

Please sign in to comment.