From 2907946ee8931f749881e48e9601779be50b7e37 Mon Sep 17 00:00:00 2001 From: Periyasamy Palanisamy Date: Mon, 16 Oct 2017 14:40:48 +0200 Subject: 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 --- sdnvpn/test/functest/run_sdnvpn_tests.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sdnvpn/test/functest/run_sdnvpn_tests.py') 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: -- cgit 1.2.3-korg