write sdnvpn test result into db 17/45217/3
authorPeriyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
Mon, 16 Oct 2017 12:40:48 +0000 (14:40 +0200)
committerPeriyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
Mon, 16 Oct 2017 13:44:40 +0000 (15:44 +0200)
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>
sdnvpn/test/functest/run_sdnvpn_tests.py

index 52a6994..c77ec45 100644 (file)
@@ -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: