X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/ba1cbe5824ddc769d8b1fdb1f51a4e02187e778c..3950ffc9481c25262f2db2b08a0f74664c433734:/services/nodemanager/tests/test_computenode_dispatch_slurm.py diff --git a/services/nodemanager/tests/test_computenode_dispatch_slurm.py b/services/nodemanager/tests/test_computenode_dispatch_slurm.py index b61db5cba1..840d0a582a 100644 --- a/services/nodemanager/tests/test_computenode_dispatch_slurm.py +++ b/services/nodemanager/tests/test_computenode_dispatch_slurm.py @@ -141,3 +141,15 @@ class SLURMComputeNodeSetupActorTestCase(ComputeNodeSetupActorTestCase): self.make_actor() self.wait_for_assignment(self.setup_actor, 'cloud_node') check_output.assert_called_with(['scontrol', 'update', 'NodeName=compute99', 'Weight=1000', 'Features=instancetype=z1.test']) + + @mock.patch('subprocess.check_output') + def test_failed_arvados_calls_retried(self, check_output): + super(SLURMComputeNodeSetupActorTestCase, self).test_failed_arvados_calls_retried() + + @mock.patch('subprocess.check_output') + def test_subscribe(self, check_output): + super(SLURMComputeNodeSetupActorTestCase, self).test_subscribe() + + @mock.patch('subprocess.check_output') + def test_creation_with_arvados_node(self, check_output): + super(SLURMComputeNodeSetupActorTestCase, self).test_creation_with_arvados_node()