aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2016-02-01 09:51:28 +0100
committerMorgan Richomme <morgan.richomme@orange.com>2016-02-01 09:51:28 +0100
commit86728ad2ccfbea4a733b664aaafff0fcc22c4b0e (patch)
treee040d0f883a608b75e52460b825580955e62b462
parent791b42ecb947f65f897d218ab715494f4fa06437 (diff)
use scenario instead of git info in version field of the test results
Change-Id: Ie80cc39e64d0fe70981623229560aa145df95c50 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
-rw-r--r--testcases/Controllers/ONOS/Teston/CI/onosfunctest.py6
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 2d22baec9..435787922 100644
--- a/testcases/Controllers/ONOS/Teston/CI/onosfunctest.py
+++ b/testcases/Controllers/ONOS/Teston/CI/onosfunctest.py
@@ -155,12 +155,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")
@@ -169,4 +169,4 @@ def main():
if __name__ == '__main__':
- main() \ No newline at end of file
+ main()