diff options
author | Ole Troan <ot@cisco.com> | 2018-06-22 22:33:41 +0200 |
---|---|---|
committer | Ole Troan <ot@cisco.com> | 2018-06-22 22:34:56 +0200 |
commit | c8efa29b6f9a91381897b54f1147daf922ed7164 (patch) | |
tree | 405258dffbc11e9c29ca10fc8c734ec311a374b4 /test/test_vcl.py | |
parent | d5c60b96a3fd93916fc4af5c8d6d25625c28242e (diff) |
Revert "make test: fix broken interfaces"
This reverts commit d5c60b96a3fd93916fc4af5c8d6d25625c28242e.
Change-Id: I3632b9c3f76c615aee897f28f76d094e7031e689
Signed-off-by: Ole Troan <ot@cisco.com>
Diffstat (limited to 'test/test_vcl.py')
-rw-r--r-- | test/test_vcl.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/test_vcl.py b/test/test_vcl.py index 79eb75f364f..cba8c67b5c7 100644 --- a/test/test_vcl.py +++ b/test/test_vcl.py @@ -68,12 +68,12 @@ class VCLTestCase(VppTestCase): worker_client.join(self.timeout) try: self.validateResults(worker_client, worker_server, self.timeout) - except Exception as error: + except Exception, 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(2) + self.create_loopback_interfaces(range(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(2) + self.create_loopback_interfaces(range(2)) table_id = 1 @@ -182,7 +182,7 @@ class VCLTestCase(VppTestCase): try: self.validateResults(worker_client, worker_server, self.timeout) - except Exception as error: + except Exception, error: self.fail("Failed with %s" % error) def validateResults(self, worker_client, worker_server, timeout): |