]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Don't register agents for QoS l2pop fullstack test
authorAssaf Muller <amuller@redhat.com>
Mon, 5 Oct 2015 14:46:11 +0000 (10:46 -0400)
committerAssaf Muller <amuller@redhat.com>
Mon, 5 Oct 2015 14:46:11 +0000 (10:46 -0400)
Not registering agents (And waiting for them) shaves a couple
of seconds off the test run. More importantly it sets the correct
precedent / usage pattern for future copy/pastes.

Change-Id: I7f91a9d44af28ac0652ed0b054419a71ed7bb1b1

neutron/tests/fullstack/test_qos.py

index d5c3e567fcff43959d778afaa1f3dcb2b01990c7..9e10336c6140b9c87ad9e119556e44578d9d5725 100644 (file)
@@ -125,7 +125,7 @@ class TestQoSWithOvsAgent(base.BaseFullStackTestCase):
 class TestQoSWithL2Population(base.BaseFullStackTestCase):
 
     def setUp(self):
-        host_desc = [environment.HostDescription()]
+        host_desc = []  # No need to register agents for this test case
         env_desc = environment.EnvironmentDescription(qos=True, l2_pop=True)
         env = environment.Environment(env_desc, host_desc)
         super(TestQoSWithL2Population, self).setUp(env)