]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Mock up time.sleep to avoid unnecessary wait in test_ovs_tunnel
authorRobinWang <wangbibo@huawei.com>
Wed, 10 Dec 2014 02:46:05 +0000 (10:46 +0800)
committerRobin Wang <wangbibo@huawei.com>
Fri, 12 Dec 2014 01:45:36 +0000 (01:45 +0000)
commit5b0aa48ec1502b3522ff19eada74855d98ec25de
treefd91732fe019ff86fbc64d0097cb9a3a2d65f000
parent7df578c4512adbd2443114b11b83589a22bba19f
Mock up time.sleep to avoid unnecessary wait in test_ovs_tunnel

Unnecessary wait in ovs tunnel UT introduces extra 6 seconds time cost,
and makes 3 test_daemon_loop cases the slowest tests. Mock up time.sleep
to reduce UT time, from around 6.272s to 0.135s.

Closes-bug: #1401457

Change-Id: Ic0a968a400268af1f66c91e4c39e7d3acf492ef3
neutron/tests/unit/openvswitch/test_ovs_tunnel.py