Skip to content

Commit

Permalink
Fixing test_node_replacement tests for Vmware IPI platforms (red-hat-…
Browse files Browse the repository at this point in the history
…storage#8375)

Due to regression from red-hat-storage#7510 node replacement tests were failing for Vmware IPI platform

Signed-off-by: pintojoy <[email protected]>
  • Loading branch information
pintojoy authored Sep 6, 2023
1 parent c3f8f10 commit 4fb0e80
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,12 @@ def check_node_replacement_verification_steps(
f"of osd nodes. Wait for the new created worker node to appear in the osd nodes"
)
timeout = 1500
# In vSphere platform, we are creating new node with same name as deleted
# In vSphere UPI platform, we are creating new node with same name as deleted
# node using terraform
if config.ENV_DATA["platform"].lower() == constants.VSPHERE_PLATFORM:
if (
config.ENV_DATA["platform"].lower() == constants.VSPHERE_PLATFORM
and config.ENV_DATA["deployment_type"] == "upi"
):
new_osd_node_name = old_node_name
else:
new_osd_node_name = node.wait_for_new_osd_node(old_osd_node_names, timeout)
Expand Down

0 comments on commit 4fb0e80

Please sign in to comment.