diff options
author | Dave Wallace <dwallacelf@gmail.com> | 2018-03-09 12:04:10 -0500 |
---|---|---|
committer | Keith Burns <alagalah@gmail.com> | 2018-03-09 18:12:32 +0000 |
commit | fef3f7bd0ae43586540533e7ee1a7cc910ccb16d (patch) | |
tree | 34dc470b264bf38366e5e064505b0489884f17a2 /test/test_vcl.py | |
parent | 8d73e856ca9c62271495cef9059063d9abd8ae3c (diff) |
make test: Force VCL test timeouts to FAIL test.
Change-Id: Ie8d3bcb9021d9272bd27dba35d30e5081023f061
Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
Diffstat (limited to 'test/test_vcl.py')
-rw-r--r-- | test/test_vcl.py | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/test/test_vcl.py b/test/test_vcl.py index d5bbccd26aa..2cfb0ff05ca 100644 --- a/test/test_vcl.py +++ b/test/test_vcl.py @@ -58,7 +58,10 @@ class VclTestCase(VppTestCase): self.logger, self.env) worker_client.start() worker_client.join(self.timeout) - self.validateResults(worker_client, worker_server, self.timeout) + try: + self.validateResults(worker_client, worker_server, self.timeout) + except Exception, error: + self.fail("Failed with %s" % error) def thru_host_stack_setup(self): self.vapi.session_enable_disable(is_enabled=1) @@ -122,7 +125,10 @@ class VclTestCase(VppTestCase): worker_client.start() worker_client.join(self.timeout) - self.validateResults(worker_client, worker_server, self.timeout) + try: + self.validateResults(worker_client, worker_server, self.timeout) + except Exception, error: + self.fail("Failed with %s" % error) def validateResults(self, worker_client, worker_server, timeout): if os.path.isdir('/proc/{}'.format(worker_server.process.pid)): |