From eac5857502dfad79c9eaa735b88bd07f60fd537c Mon Sep 17 00:00:00 2001 From: xudan Date: Thu, 28 Sep 2017 02:28:51 -0400 Subject: 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 --- dovetail/report.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'dovetail/report.py') 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'] -- cgit 1.2.3-korg