Skip to content
Snippets Groups Projects
Commit c9b27d61 authored by ml bonhomme's avatar ml bonhomme :bee:
Browse files

Make Slurm agent creation params more realistic

parent 7b5482fd
No related branches found
No related tags found
1 merge request!2312Make Slurm agent creation params more realistic
......@@ -156,14 +156,9 @@ class TestModels(FixtureAPITestCase):
def test_agent_slurm_mode(self):
Agent.objects.create(
hostname="agent_smith",
cpu_cores=2,
cpu_frequency=4.2e9,
public_key="",
farm=self.farm,
ram_total=2e9,
last_ping=timezone.now(),
ram_load=0.49,
cpu_load=0.99,
mode=AgentMode.Slurm.value
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment