Skip to content

Commit 66ee89b

Browse files
committed
[Test] DFSM: add draining as a valid state for compute nodes marked for draining as part of an update.
Signed-off-by: Giacomo Marciani <[email protected]>
1 parent 9021184 commit 66ee89b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1337,10 +1337,10 @@ def test_dynamic_file_systems_update(
13371337
logging.info("Checking the status of compute nodes in queue2")
13381338
# All compute nodes in queue2 are expected to be in idle or drained
13391339
# because they have not jobs running, hence we expect them to have been replaced (idle)
1340-
# or under replacement (drained).
1340+
# or under replacement (drained, draining).
13411341
queue2_nodes = scheduler_commands.get_compute_nodes("queue2")
13421342
assert_compute_node_states(
1343-
scheduler_commands, queue2_nodes, expected_states=["idle", "drained", "idle%", "drained*"]
1343+
scheduler_commands, queue2_nodes, expected_states=["idle", "drained", "idle%", "drained*", "draining"]
13441344
)
13451345

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

0 commit comments

Comments
 (0)