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:
jpike
2025-09-11 09:16:26 -04:00
parent a198a25fcf
commit f8913a4fa3

View File

@@ -48,9 +48,7 @@ class ResultCollector:
# update db if configured
if ConfigurationManager.get_database_config().use_database():
self.update_result_in_database(
self.test_executor_summary.get_tests_summary(),
)
self.update_result_in_database(self.test_executor_summary.get_last_result())
def update_result_in_database(self, outcome: any):
"""