Fix db result update
We were getting the summary object and not the result. Change-Id: Ia1579656ee57000c00d46711620dfbf46da27355 Signed-off-by: jpike <jason.pike@windriver.com>
This commit is contained in:
@@ -48,9 +48,7 @@ class ResultCollector:
|
|||||||
|
|
||||||
# update db if configured
|
# update db if configured
|
||||||
if ConfigurationManager.get_database_config().use_database():
|
if ConfigurationManager.get_database_config().use_database():
|
||||||
self.update_result_in_database(
|
self.update_result_in_database(self.test_executor_summary.get_last_result())
|
||||||
self.test_executor_summary.get_tests_summary(),
|
|
||||||
)
|
|
||||||
|
|
||||||
def update_result_in_database(self, outcome: any):
|
def update_result_in_database(self, outcome: any):
|
||||||
"""
|
"""
|
||||||
|
Reference in New Issue
Block a user