Skip to content

Commit

Permalink
Merge pull request #9914 from vavuthu/fix_deployment_verification
Browse files Browse the repository at this point in the history
use get for resourceProfile timeout
  • Loading branch information
petr-balogh authored Jun 6, 2024
2 parents bfbfd99 + 8a68996 commit f7ac1c6
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions ocs_ci/ocs/resources/storage_cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -923,10 +923,9 @@ def verify_storage_cluster():
log.info(f"Check if StorageCluster: {storage_cluster_name} is in Succeeded phase")
if config.ENV_DATA.get("platform") == constants.FUSIONAAS_PLATFORM:
timeout = 1000
elif (
storage_cluster.data["spec"]["resourceProfile"]
!= storage_cluster.data["status"]["lastAppliedResourceProfile"]
):
elif storage_cluster.data["spec"].get("resourceProfile") != storage_cluster.data[
"status"
].get("lastAppliedResourceProfile"):
timeout = 1200
else:
timeout = 600
Expand Down

0 comments on commit f7ac1c6

Please sign in to comment.