Skip to content

Commit

Permalink
[Test] DFSM: add draining as a valid state for compute nodes marked f…
Browse files Browse the repository at this point in the history
…or draining as part of an update.

Signed-off-by: Giacomo Marciani <[email protected]>
  • Loading branch information
gmarciani committed Apr 10, 2024
1 parent 9021184 commit 66ee89b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/integration-tests/tests/update/test_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -1337,10 +1337,10 @@ def test_dynamic_file_systems_update(
logging.info("Checking the status of compute nodes in queue2")
# All compute nodes in queue2 are expected to be in idle or drained
# because they have not jobs running, hence we expect them to have been replaced (idle)
# or under replacement (drained).
# or under replacement (drained, draining).
queue2_nodes = scheduler_commands.get_compute_nodes("queue2")
assert_compute_node_states(
scheduler_commands, queue2_nodes, expected_states=["idle", "drained", "idle%", "drained*"]
scheduler_commands, queue2_nodes, expected_states=["idle", "drained", "idle%", "drained*", "draining"]
)

logging.info("Checking that shared storage is visible on the head node")
Expand Down

0 comments on commit 66ee89b

Please sign in to comment.