Skip to content

Commit e444c1d

Browse files
author
Sanjay Prabhakar
committed
Merge branch 'stable' into backuprestore-dev
2 parents c0b091b + 3f0bfab commit e444c1d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/mas/devops/tekton.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@ def installOpenShiftPipelines(dynClient: DynamicClient, customStorageClassName:
111111
pvcName = "postgredb-tekton-results-postgres-0"
112112
pvcNamespace = "openshift-pipelines"
113113

114-
# Wait briefly for PVC to be created (max 30 seconds)
115-
maxInitialRetries = 6
114+
# Wait briefly for PVC to be created (max 5 minutes)
115+
maxInitialRetries = 60
116116
pvc = None
117117
for retry in range(maxInitialRetries):
118118
try:
@@ -124,7 +124,7 @@ def installOpenShiftPipelines(dynClient: DynamicClient, customStorageClassName:
124124
sleep(5)
125125

126126
if pvc is None:
127-
logger.error(f"PVC {pvcName} was not created after {maxInitialRetries * 5} seconds")
127+
logger.error(f"PVC {pvcName} was not created after {maxInitialRetries * 5} seconds (5 minutes)")
128128
return False
129129

130130
# Check if PVC is already bound

0 commit comments

Comments
 (0)