Skip to content

Commit

Permalink
Fixing script issue
Browse files Browse the repository at this point in the history
Signed-off-by: pintojoy <[email protected]>
  • Loading branch information
pintojoy committed Jul 10, 2024
1 parent 6d8eaa6 commit 2a14714
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/functional/z_cluster/test_scale_mon_pods.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ def test_node_maintenance_post_five_mon_update(
mon_nodes = []
mon_pods = pod.get_mon_pods()
for podd in mon_pods:
mon_nodes.append(pod.get_pod_node(podd))
mon_nodes.append((pod.get_pod_node(podd)).name)
assert mon_nodes, "Failed to find a node for the test"
# check csi-cephfsplugin-provisioner's and csi-rbdplugin-provisioner's
# are ready, see BZ #2162504
Expand All @@ -298,7 +298,7 @@ def test_node_maintenance_post_five_mon_update(
)
provis_pod_names = [p["metadata"]["name"] for p in provis_pods]

# Maintenance the node (unschedule and drain)
# Maintenance of the node (unschedule and drain)
log.info(f"Chosen nodes for draining are {mon_nodes[0:2]} ")
drain_nodes(mon_nodes[0:2])

Expand Down

0 comments on commit 2a14714

Please sign in to comment.