X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=test%2Ftest_map.py;fp=test%2Ftest_map.py;h=8ddc6bd5cd3233f3eaba25c36920486cdff0bfe7;hb=23d13c071e80ab6bbed4f5d6cf14ef9ccf05384a;hp=16e9607cedcd6cfb65669ceae055b596ccac6a04;hpb=da652cc46604f5c98736404a2342ac3a178240e7;p=vpp.git diff --git a/test/test_map.py b/test/test_map.py index 16e9607cedc..8ddc6bd5cd3 100644 --- a/test/test_map.py +++ b/test/test_map.py @@ -53,7 +53,12 @@ class TestMAP(VppTestCase): def tearDown(self): super(TestMAP, self).tearDown() + for i in self.pg_interfaces: + for t in (0, 1): + self.vapi.map_if_enable_disable( + is_enable=0, sw_if_index=i.sw_if_index, is_translation=t + ) i.unconfig_ip4() i.unconfig_ip6() i.admin_down()