make test: fix broken interfaces #2

Change-Id: I9d5b5d925fd2c09a1113fc51e433a16d729a241b
Signed-off-by: Klement Sekera <ksekera@cisco.com>
This commit is contained in:
Klement Sekera
2018-06-24 10:30:37 +02:00
parent b9ef2739dd
commit beaded5e0c
5 changed files with 83 additions and 85 deletions

View File

@ -1407,7 +1407,7 @@ class BFD4TestCase(VppTestCase):
def test_intf_deleted(self):
""" interface with bfd session deleted """
intf = VppLoInterface(self, 0)
intf = VppLoInterface(self)
intf.config_ip4()
intf.admin_up()
sw_if_index = intf.sw_if_index
@ -1616,7 +1616,7 @@ class BFD6TestCase(VppTestCase):
def test_intf_deleted(self):
""" interface with bfd session deleted """
intf = VppLoInterface(self, 0)
intf = VppLoInterface(self)
intf.config_ip6()
intf.admin_up()
sw_if_index = intf.sw_if_index