]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Do not mock arping in L3AgentTestFramework functional tests
authorNikolay Fedotov <nfedotov@cisco.com>
Mon, 29 Jun 2015 08:57:52 +0000 (11:57 +0300)
committerNikolay Fedotov <nfedotov@cisco.com>
Mon, 29 Jun 2015 20:38:39 +0000 (23:38 +0300)
The arping is called using eventlet.spawn_n therefore it
should not affect tests execution time.

Change-Id: I5a224196b98e1f6fa3478e9984ee6797a7c48b61

neutron/tests/functional/agent/test_l3_agent.py

index b35fb074a22da0d114667c9c67cebf9e7a2a3d4f..668539edba05aafc61d4cf945d5075fc4b4aac89 100644 (file)
@@ -68,7 +68,6 @@ class L3AgentTestFramework(base.BaseSudoTestCase):
         self.mock_plugin_api = mock.patch(
             'neutron.agent.l3.agent.L3PluginApi').start().return_value
         mock.patch('neutron.agent.rpc.PluginReportStateAPI').start()
-        mock.patch.object(ip_lib, '_arping').start()
         self.agent = self._configure_agent('agent1')
 
     def _get_config_opts(self):