]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Start an unstarted patch in the hyperv unit tests
authorKevin Benton <blak111@gmail.com>
Mon, 9 Jun 2014 07:46:30 +0000 (00:46 -0700)
committerKevin Benton <blak111@gmail.com>
Mon, 9 Jun 2014 07:48:34 +0000 (00:48 -0700)
This starts a patch that was setup but never started
for a loopingcall that was allowing an occasional
exception to be thrown from the agent on unrelated patches.

Closes-Bug: #1327974
Change-Id: I6cfdb128c2a78e9c087d79a6db850603f2d03fa8

neutron/tests/unit/hyperv/test_hyperv_neutron_agent.py

index 816b763752fdec59f8b73d7e2c21342316d81ed7..8d1252765e75211c5e7ec7d8a8a4aea7abda3f8f 100644 (file)
@@ -54,7 +54,7 @@ class TestHyperVNeutronAgent(base.BaseTestCase):
 
         mock.patch('neutron.openstack.common.loopingcall.'
                    'FixedIntervalLoopingCall',
-                   new=MockFixedIntervalLoopingCall)
+                   new=MockFixedIntervalLoopingCall).start()
         cfg.CONF.set_default('firewall_driver',
                              'neutron.agent.firewall.NoopFirewallDriver',
                              group='SECURITYGROUP')