make test: fix broken interfaces
Change-Id: I2e092774f81503e04b53cc6c6b5d357fe3fc52ab Signed-off-by: Klement Sekera <ksekera@cisco.com>
This commit is contained in:

committed by
Florin Coras

parent
3e2d57d877
commit
d5c60b96a3
@ -68,12 +68,12 @@ class VCLTestCase(VppTestCase):
|
||||
worker_client.join(self.timeout)
|
||||
try:
|
||||
self.validateResults(worker_client, worker_server, self.timeout)
|
||||
except Exception, error:
|
||||
except Exception as error:
|
||||
self.fail("Failed with %s" % error)
|
||||
|
||||
def thru_host_stack_setup(self):
|
||||
self.vapi.session_enable_disable(is_enabled=1)
|
||||
self.create_loopback_interfaces(range(2))
|
||||
self.create_loopback_interfaces(2)
|
||||
|
||||
table_id = 1
|
||||
|
||||
@ -117,7 +117,7 @@ class VCLTestCase(VppTestCase):
|
||||
|
||||
def thru_host_stack_ipv6_setup(self):
|
||||
self.vapi.session_enable_disable(is_enabled=1)
|
||||
self.create_loopback_interfaces(range(2))
|
||||
self.create_loopback_interfaces(2)
|
||||
|
||||
table_id = 1
|
||||
|
||||
@ -182,7 +182,7 @@ class VCLTestCase(VppTestCase):
|
||||
|
||||
try:
|
||||
self.validateResults(worker_client, worker_server, self.timeout)
|
||||
except Exception, error:
|
||||
except Exception as error:
|
||||
self.fail("Failed with %s" % error)
|
||||
|
||||
def validateResults(self, worker_client, worker_server, timeout):
|
||||
|
Reference in New Issue
Block a user