Skip to content

Commit 61e2680

Browse files
nordic-piksrlubos
authored andcommitted
fix: tests: Prevent hanging tests waiting for nonexistent device
Test hangs waiting for device with harness forever. Such test should be filtered out and not executed, as there is no such harness connected (not indicated in HW map). Due to twister issue, harness filtering will work only when 'harness:' is provided explicit. Signed-off-by: Piotr Kosycarz <[email protected]>
1 parent 77509e8 commit 61e2680

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

tests/subsys/zigbee/osif/serial/serial_async_api/testcase.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@ tests:
22
zigbee.osif.serial.async:
33
platform_allow: nrf52840dk_nrf52840 nrf52833dk_nrf52833
44
tags: osif_serial
5+
harness: ztest
56
harness_config:
67
fixture: shorted_uart_1

tests/subsys/zigbee/osif/serial/serial_basic_api/testcase.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@ tests:
22
zigbee.osif.serial.basic:
33
platform_allow: nrf52840dk_nrf52840 nrf52833dk_nrf52833
44
tags: osif_serial
5+
harness: ztest
56
harness_config:
67
fixture: shorted_uart_1

0 commit comments

Comments
 (0)