Skip to content

Commit

Permalink
fix tests #215
Browse files Browse the repository at this point in the history
  • Loading branch information
JavierCladellas committed Jan 23, 2025
1 parent c14d907 commit eb8a451
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/parameters/test_resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,10 @@ def test_nodesAndTasksPerNodeStrategy(self, tasks_per_node, nodes, expected_task


@pytest.mark.parametrize(("tasks","memory","expected_nodes","expected_tasks_per_node"), [
(128, 900, 1, 128), (128, 1000, 1, 128), (128, 1100, 2, 64), (128, 2100, 3, 42),
(128, 900, 1, 128), (128, 1000, 1, 128), (128, 1100, 2, 64), (128, 2100, 4, 42),
(64, 500, 1, 64), (64, 1000, 1, 64), (64, 1100, 2, 32),
(256, 900, 2, 128), (256, 1100, 2, 128), (256, 2500, 3, 85), (256, 3500, 4, 64),
(301, 900, 3, 128), (301, 1100, 3, 100), (301, 4100, 5, 60)
(256, 900, 2, 128), (256, 1100, 2, 128), (256, 2500, 4, 85), (256, 3500, 4, 64),
(301, 900, 3, 128), (301, 1100, 4, 100), (301, 4100, 6, 60)
])
def test_memoryEnforcer(self, tasks, memory, expected_nodes, expected_tasks_per_node):
""" Tests the MemoryEnforcer
Expand Down

0 comments on commit eb8a451

Please sign in to comment.