gbp: remove loopback interfaces between tests 15/22415/2
authorBenoît Ganne <bganne@cisco.com>
Tue, 3 Sep 2019 16:17:38 +0000 (18:17 +0200)
committerAndrew Yourtchenko <ayourtch@gmail.com>
Mon, 30 Sep 2019 15:34:34 +0000 (15:34 +0000)
Type: fix

Change-Id: I440f25b95b23b717518d101a1327ecf16d6ba39a
Signed-off-by: Benoît Ganne <bganne@cisco.com>
(cherry picked from commit d51880c5de3a1b22d9ac510305bdfe98fa12e51c)

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()