Skip to content

Commit 763d7cc

Browse files
hgreebegmarciani
andauthored
Fix assertion when checking node state (#6142)
Co-authored-by: Giacomo Marciani <mgiacomo@amazon.com>
1 parent 0f76bba commit 763d7cc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/integration-tests/tests/update/test_update.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1331,7 +1331,9 @@ def test_dynamic_file_systems_update(
13311331
# because they have not jobs running, hence we expect them to have been replaced (idle)
13321332
# or under replacement (drained).
13331333
queue2_nodes = scheduler_commands.get_compute_nodes("queue2")
1334-
assert_compute_node_states(scheduler_commands, queue2_nodes, expected_states=["idle", "drained"])
1334+
assert_compute_node_states(
1335+
scheduler_commands, queue2_nodes, expected_states=["idle", "drained", "idle%", "drained*"]
1336+
)
13351337

13361338
logging.info("Checking that shared storage is visible on the head node")
13371339
_test_shared_storages_mount_on_headnode(

0 commit comments

Comments
 (0)