Browse Source

Merge "Stop OVS agent before starting it again" into stable/queens

changes/56/677056/1
Zuul 1 month ago
parent
commit
b145e884ab
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      neutron/tests/functional/agent/test_l2_ovs_agent.py

+ 2
- 0
neutron/tests/functional/agent/test_l2_ovs_agent.py View File

@@ -243,6 +243,7 @@ class TestOVSAgent(base.OVSAgentTestFramework):
243 243
         patch_int_ofport_before = self.agent.patch_int_ofport
244 244
         patch_tun_ofport_before = self.agent.patch_tun_ofport
245 245
 
246
+        self.stop_agent(self.agent, self.agent_thread)
246 247
         self.setup_agent_and_ports(port_dicts=[], create_tunnels=True)
247 248
         self.assertEqual(patch_int_ofport_before, self.agent.patch_int_ofport)
248 249
         self.assertEqual(patch_tun_ofport_before, self.agent.patch_tun_ofport)
@@ -254,6 +255,7 @@ class TestOVSAgent(base.OVSAgentTestFramework):
254 255
         patch_int_ofport_before = self.agent.int_ofports['physnet']
255 256
         patch_phys_ofport_before = self.agent.phys_ofports['physnet']
256 257
 
258
+        self.stop_agent(self.agent, self.agent_thread)
257 259
         self.setup_agent_and_ports(port_dicts=[])
258 260
         self.assertEqual(patch_int_ofport_before,
259 261
                          self.agent.int_ofports['physnet'])

Loading…
Cancel
Save