gbp: remove loopback interfaces between tests 59/21859/2
authorBenoît Ganne <bganne@cisco.com>
Tue, 3 Sep 2019 16:17:38 +0000 (18:17 +0200)
committerNeale Ranns <nranns@cisco.com>
Mon, 23 Sep 2019 09:13:20 +0000 (09:13 +0000)
Type: fix

Change-Id: I440f25b95b23b717518d101a1327ecf16d6ba39a
Signed-off-by: Benoît Ganne <bganne@cisco.com>
src/plugins/gbp/test/test_gbp.py

index cb42649..3989e23 100644 (file)
@@ -652,6 +652,9 @@ class TestGBP(VppTestCase):
         for i in self.pg_interfaces:
             i.admin_down()
         super(TestGBP, self).tearDown()
+        for i in self.lo_interfaces:
+            i.remove_vpp_config()
+        self.lo_interfaces = []
         self.vlan_102.remove_vpp_config()
         self.vlan_101.remove_vpp_config()
         self.vlan_100.remove_vpp_config()