Skip to content

Commit

Permalink
tests: on_target: Cleanup expected order
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
simensrostad committed Aug 19, 2024
1 parent 9a88fb8 commit ccb4058
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/on_target/tests/test_uart_output.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit ccb4058

Please sign in to comment.