diff options
author | xudan <xudan16@huawei.com> | 2018-03-04 22:30:34 -0500 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-03-06 10:28:38 +0000 |
commit | 8781612bb6a5666a92090d125af27d257574f46d (patch) | |
tree | 05a271808b6789e06fdd3715558bb5e0f209f5a3 /docs/submodules/netready | |
parent | fb1991c24266d1ef6fada5d55aa2ea8203fde5ac (diff) |
Update git submodules
* Update docs/submodules/dovetail from branch 'master'
- Bugfix: it crashes when check_tc_result returns None
The function 'check_tc_result' may return 'None'.
In this case it will throw an exception because of
https://github.com/opnfv/dovetail/blob/master/dovetail/run.py#L65
The exception is like
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/dovetail/run.py", line 339, in <module>
main()
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 716, in _call_
return self.main(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 696, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 889, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 534, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/dovetail/run.py", line 304, in main
duration = run_test(testsuite_yaml, testarea, logger, kwargs)
File "/usr/local/lib/python2.7/dist-packages/dovetail/run.py", line 65, in run_test
if stop_on_fail['criteria'] == "FAIL" and kwargs['stop']:
TypeError: 'NoneType' object has no attribute '_getitem_'
JIRA: DOVETAIL-622
Change-Id: I9e612b380c3dfb148692074a3bf8eb31875213ac
Signed-off-by: xudan <xudan16@huawei.com>
Diffstat (limited to 'docs/submodules/netready')
0 files changed, 0 insertions, 0 deletions