summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBenoît Ganne <bganne@cisco.com>2019-09-03 18:17:38 +0200
committerNeale Ranns <nranns@cisco.com>2019-09-23 09:13:20 +0000
commitd51880c5de3a1b22d9ac510305bdfe98fa12e51c (patch)
treec37a93982acc2c3853c57a723bfeb7f5d6b12fb8 /src
parent6d5f6592559bc0db4294c53236177d4e35e603c6 (diff)
gbp: remove loopback interfaces between tests
Type: fix Change-Id: I440f25b95b23b717518d101a1327ecf16d6ba39a Signed-off-by: Benoît Ganne <bganne@cisco.com>
Diffstat (limited to 'src')
-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()