aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenoît Ganne <bganne@cisco.com>2019-09-03 18:17:38 +0200
committerAndrew Yourtchenko <ayourtch@gmail.com>2019-09-30 15:34:34 +0000
commit804a95cf8113ee2b226363eab71e98dbee0b6820 (patch)
treed0ad04d47ad62fdba267bfc02741695f54c2b095
parenta30d9692977e05faad873597436d015ed4d6faf8 (diff)
gbp: remove loopback interfaces between tests
Type: fix Change-Id: I440f25b95b23b717518d101a1327ecf16d6ba39a Signed-off-by: Benoît Ganne <bganne@cisco.com> (cherry picked from commit d51880c5de3a1b22d9ac510305bdfe98fa12e51c)
-rw-r--r--src/plugins/gbp/test/test_gbp.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/gbp/test/test_gbp.py b/src/plugins/gbp/test/test_gbp.py
index cb426492891..3989e233c93 100644
--- a/src/plugins/gbp/test/test_gbp.py
+++ b/src/plugins/gbp/test/test_gbp.py
@@ -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()