From 42feb1a594f386340c9bf7e90a9a48773b21d89b Mon Sep 17 00:00:00 2001 From: Assaf Muller Date: Mon, 5 Oct 2015 10:46:11 -0400 Subject: [PATCH] Don't register agents for QoS l2pop fullstack test 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neutron/tests/fullstack/test_qos.py b/neutron/tests/fullstack/test_qos.py index d5c3e567f..9e10336c6 100644 --- a/neutron/tests/fullstack/test_qos.py +++ b/neutron/tests/fullstack/test_qos.py @@ -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) -- 2.45.2