From: Periyasamy Palanisamy Date: Mon, 16 Oct 2017 12:40:48 +0000 (+0200) Subject: write sdnvpn test result into db X-Git-Tag: 6.0.0~47 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=2907946ee8931f749881e48e9601779be50b7e37;p=sdnvpn.git write sdnvpn test result into db The details of the test results are not flushed into db which causes test report showing empty data JIRA: SDNVPN-183 JIRA: FUNCTEST-874 Change-Id: Ie539685990014149434d59e61490750ae318b3ba Signed-off-by: Periyasamy Palanisamy --- diff --git a/sdnvpn/test/functest/run_sdnvpn_tests.py b/sdnvpn/test/functest/run_sdnvpn_tests.py index 52a6994..c77ec45 100644 --- a/sdnvpn/test/functest/run_sdnvpn_tests.py +++ b/sdnvpn/test/functest/run_sdnvpn_tests.py @@ -84,6 +84,10 @@ class SdnvpnFunctest(testcase.TestCase): self.stop_time = time.time() + # Ignoring the return value of push_to_db because we shouldn't make + # sdnvpn to fail for an issue related to db write. + self.push_to_db() + try: gather_logs('overall') except Exception as ex: