diff options
author | Morgan Richomme <morgan.richomme@orange.com> | 2016-02-01 13:49:54 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2016-02-01 13:49:54 +0000 |
commit | 7dc83eca295f5f829e65857b4f550aa4151ac38f (patch) | |
tree | bde08d69c947aea45d202c7c74d6662dff93dbab /testcases/Controllers/ONOS/Teston/CI | |
parent | da1a92b67e0538ebb9a0512097bebe1a37cff990 (diff) | |
parent | 86728ad2ccfbea4a733b664aaafff0fcc22c4b0e (diff) |
Merge "use scenario instead of git info in version field of the test results"
Diffstat (limited to 'testcases/Controllers/ONOS/Teston/CI')
-rw-r--r-- | testcases/Controllers/ONOS/Teston/CI/onosfunctest.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/testcases/Controllers/ONOS/Teston/CI/onosfunctest.py b/testcases/Controllers/ONOS/Teston/CI/onosfunctest.py index 0c68fd799..4b3779410 100644 --- a/testcases/Controllers/ONOS/Teston/CI/onosfunctest.py +++ b/testcases/Controllers/ONOS/Teston/CI/onosfunctest.py @@ -178,12 +178,12 @@ def main(): try: logger.debug("Push result into DB") # TODO check path result for the file - git_version = functest_utils.get_git_branch(REPO_PATH) + scenario = functest_utils.get_scenario(logger) pod_name = functest_utils.get_pod_name(logger) result = GetResult() functest_utils.push_results_to_db(TEST_DB, "ONOS", - logger, pod_name, git_version, + logger, pod_name, scenario, payload=result) except: logger.error("Error pushing results into Database") @@ -192,4 +192,4 @@ def main(): if __name__ == '__main__': - main()
\ No newline at end of file + main() |