Skip to content

Commit 6d28d44

Browse files
committed
tests: Increase timeout for test_sampling.py
Increase timeout for test_sampling.py Signed-off-by: Simen S. Røstad <simen.rostad@nordicsemi.no>
1 parent 19e5838 commit 6d28d44

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/on_target/tests/test_functional/test_sampling.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,12 @@ def test_sampling(t91x_board, hex_file):
4343
reset_device()
4444

4545
# Sampling
46-
t91x_board.uart.wait_for_str(pattern_list, timeout=60)
46+
t91x_board.uart.wait_for_str(pattern_list, timeout=120)
4747

4848
# Extract coordinates from UART output
4949
values = t91x_board.uart.extract_value( \
5050
r"location_event_handler: Got location: lat: ([\d.]+), lon: ([\d.]+), acc: ([\d.]+), method: ([\d.]+)")
5151
assert values
52+
5253
lat, lon, acc, method = values
5354
assert abs(float(lat) - 61.5) < 2 and abs(float(lon) - 10.5) < 1

0 commit comments

Comments
 (0)