From e7399f6b2e4db93070a47e7691f42274222400b6 Mon Sep 17 00:00:00 2001 From: Michael Still Date: Wed, 15 Jan 2014 11:27:42 +1100 Subject: [PATCH] gear tests are unreliable. Disable the gear tests until they can be made reliable. These fail consistently on my laptop, as well as intermittently in the gate. Note that I can't use self.skip() here because the failure occurs in setUp(). Change-Id: I7edb0f53228e9a0d24c8bd47626319d896d40cb2 --- tests/test_worker_manager.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_worker_manager.py b/tests/test_worker_manager.py index 89e02b2..b2997eb 100644 --- a/tests/test_worker_manager.py +++ b/tests/test_worker_manager.py @@ -42,7 +42,7 @@ class TestGearmanManager(testtools.TestCase): self.gearman_manager = FakeZuulManager(self.config, self.tasks, self) - def test_manager_function_registered(self): + def xtest_manager_function_registered(self): """ Check the manager is set up correctly and registered with the gearman server with an appropriate function """ @@ -57,12 +57,12 @@ class TestGearmanManager(testtools.TestCase): self.assertIn(function_name, self.gearman_server.functions) - def test_task_registered_with_manager(self): + def xtest_task_registered_with_manager(self): """ Check the FakeRealDbUpgradeRunner_worker task is registered """ self.assertIn('FakeRealDbUpgradeRunner_worker', self.gearman_manager.tasks.keys()) - def test_stop_task(self): + def xtest_stop_task(self): """ Check that the manager successfully stops a task when requested """ pass