From 63e893784864cbf75faed7396c22fa6a41575b44 Mon Sep 17 00:00:00 2001 From: Lili Deng Date: Fri, 15 Nov 2024 14:00:09 +0800 Subject: [PATCH] perf message: use test_result.environment_information --- lisa/messages.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisa/messages.py b/lisa/messages.py index b83324ba60..b51e9e2298 100644 --- a/lisa/messages.py +++ b/lisa/messages.py @@ -327,7 +327,7 @@ def create_perf_message( ): data_path = node.capability.network_interface.data_path.value message = message_type() - dict_to_fields(environment.get_information(force_run=False), message) + dict_to_fields(test_result.environment_information, message) message.test_case_name = test_case_name message.data_path = data_path message.test_result_id = test_result.id_