diff --git a/spinnman_integration_tests/test_job.py b/spinnman_integration_tests/test_job.py index f626e1ce8..85e624a7e 100644 --- a/spinnman_integration_tests/test_job.py +++ b/spinnman_integration_tests/test_job.py @@ -13,7 +13,7 @@ # limitations under the License. import unittest - +from requests.exceptions import ConnectionError from spinn_utilities.config_holder import set_config from spinn_machine.version import FIVE @@ -30,7 +30,10 @@ def setUp(self): self.spalloc_machine = "SpiNNaker1M" def test_create_job(self): - client = SpallocClient(self.spalloc_url) + try: + client = SpallocClient(self.spalloc_url) + except ConnectionError as ex: + raise unittest.SkipTest(str(ex)) # job = client.create_job_rect_at_board( # WIDTH, HEIGHT, triad=(x, y, b), machine_name=SPALLOC_MACHINE, # max_dead_boards=1)