summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeriyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>2017-10-16 14:40:48 +0200
committerPeriyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>2017-10-16 15:44:40 +0200
commit2907946ee8931f749881e48e9601779be50b7e37 (patch)
tree3855f5347ec7f619204c7c0280cfd3f06672c58a
parent6c878a213164dc895841046170869a50e41c9e7a (diff)
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 <periyasamy.palanisamy@ericsson.com>
-rw-r--r--sdnvpn/test/functest/run_sdnvpn_tests.py4
1 files changed, 4 insertions, 0 deletions
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: