]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Mock out all RPC calls with a fixture
authorKevin Benton <blak111@gmail.com>
Sat, 20 Sep 2014 17:48:22 +0000 (10:48 -0700)
committerKevin Benton <blak111@gmail.com>
Mon, 22 Sep 2014 12:10:18 +0000 (05:10 -0700)
commit086496bfc45e01cd2905a074d526a7d513bf4ec2
tree75a8e79b748949570bb1475c893b2f2b75f84843
parenta76af4ade3c751a4372a427989035cf8c32342b0
Mock out all RPC calls with a fixture

Mock out the rpc proxy calls used by various agents to
prevent unit tests from blocking for 10+ seconds while waiting
for a timeout. This happened with the OVS agent unit tests
recently in Change-ID Idd770a85a9eabff112d9613e75d8bb524020234a.

This change results in a reduction from 330.8 seconds to 2.7 seconds
for the neutron.tests.unit.openvswitch.test_ovs_neutron_agent
test module.

Closes-Bug: #1372076
Change-Id: I5e6794dc33c64c8fe309d8e72a8af3385c7d4442
neutron/tests/base.py
neutron/tests/unit/openvswitch/test_ovs_neutron_agent.py