diff options
author | xudan <xudan16@huawei.com> | 2017-09-28 02:28:51 -0400 |
---|---|---|
committer | xudan <xudan16@huawei.com> | 2017-09-28 23:47:39 -0400 |
commit | eac5857502dfad79c9eaa735b88bd07f60fd537c (patch) | |
tree | 974f09cbd076e7d642b6f25a8a623159eed4a7e1 /dovetail/report.py | |
parent | 465f738554c1c401707036a055577b35f7c06dca (diff) |
Bugfix: sdnvpn test cases failed due to wrong module name
SDNVPN test cases failed due to wrong module name.
The module name needs to be changed into "sdnvpn.test.functest.testcase_1"
Refer to patch https://gerrit.opnfv.org/gerrit/#/c/41385/
Currently Dovetail uses functest:cvp.0.5.0 which uses module name "testcase_1".
JIRA: DOVETAIL-510
Change-Id: I3232760d3af34125c7da71a5d2c62ca32693c82b
Signed-off-by: xudan <xudan16@huawei.com>
Diffstat (limited to 'dovetail/report.py')
-rw-r--r-- | dovetail/report.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dovetail/report.py b/dovetail/report.py index 535e5a25..2dd2a8d9 100644 --- a/dovetail/report.py +++ b/dovetail/report.py @@ -266,7 +266,8 @@ class FunctestCrawler(object): for jsonfile in f: try: data = json.loads(jsonfile) - if testcase_name == data['case_name'] and \ + if (testcase_name == data['case_name'] or + data['project_name'] == "sdnvpn") and \ build_tag == data['build_tag']: criteria = data['criteria'] timestart = data['start_date'] |