From 5003f1c0843cc2837e11351c8a9ee761ba42422e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simen=20S=2E=20R=C3=B8stad?= Date: Mon, 19 Aug 2024 13:26:39 +0200 Subject: [PATCH] tests: on_target: Cleanup expected order MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Expect shadow and fota poll triggers on button press. Remove some expected output as the order is not guaranteed. Signed-off-by: Simen S. Røstad --- tests/on_target/tests/test_uart_output.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/on_target/tests/test_uart_output.py b/tests/on_target/tests/test_uart_output.py index 8b5c198e..34d4e2cb 100644 --- a/tests/on_target/tests/test_uart_output.py +++ b/tests/on_target/tests/test_uart_output.py @@ -31,10 +31,8 @@ def test_program_board_and_check_uart(t91x_board, hex_file): ] patterns_button_press = [ "trigger: frequent_poll_run: Button 1 pressed in frequent poll state, restarting duration timer", - "location_module: location_event_handler: Got location: lat:", - "location: location_utils_event_dispatch: Done", - "blocked_run: Location search done", - "trigger: frequent_poll_entry: frequent_poll_entry" + "trigger_fota_poll_work_fn: Sending FOTA poll trigger", + "trigger_shadow_poll_work_fn: Sending shadow poll trigger" ] patterns_lte_offline = [ "network: Network connectivity lost",