Skip to content
Snippets Groups Projects

Make Slurm agent creation params more realistic

Merged ml bonhomme requested to merge fix-test-data into master
1 file
+ 0
5
Compare changes
  • Side-by-side
  • Inline
@@ -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
)
Loading