Skip to content

Commit 6c78cd1

Browse files
committed
tests: bsim: host: minor updates related to twister
Increasing test timeouts for better margins. Removing missed obsolete shell running files. Signed-off-by: Artur Dobrynin <[email protected]>
1 parent 00dcf2a commit 6c78cd1

File tree

40 files changed

+50
-111
lines changed

40 files changed

+50
-111
lines changed

scripts/pylib/twister/twisterlib/harness.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1009,11 +1009,14 @@ def configure(self, instance):
10091009
[os.path.join(self._bsim_out_path, exe_name) for exe_name in exe_names]
10101010

10111011
def clean_exes(self):
1012+
self._set_start_time()
1013+
1014+
try:
10121015
for exe_path in [self._get_exe_path(i) for i in range(len(self._exe_paths))]:
10131016
if os.path.exists(exe_path):
10141017
os.remove(exe_path)
1015-
1016-
self._set_start_time()
1018+
except Exception as e:
1019+
logger.warning(f'Failed to clean up bsim exes: {e}')
10171020

10181021
def wait_bsim_ready(self):
10191022
start_time = time.time()

tests/bsim/bluetooth/host/adv/encrypted/css_sample_data/testcase.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ common:
44
platform_allow:
55
- nrf52_bsim/native
66
harness: bsim
7-
timeout: 2
7+
timeout: 5
88
harness_config:
99
bsim_exe_name:
1010
- tests_bsim_bluetooth_host_adv_encrypted_css_sample_data_prj_conf

tests/bsim/bluetooth/host/adv/encrypted/ead_sample/testcase.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ tests:
55
platform_allow:
66
- nrf52_bsim/native
77
harness: bsim
8-
timeout: 2
8+
timeout: 5
99
harness_config:
1010
bsim_exe_name:
1111
- tests_bsim_bluetooth_host_adv_encrypted_ead_sample_prj_conf

tests/bsim/bluetooth/host/att/eatt_notif/testcase.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ tests:
66
- nrf52_bsim/native
77
- nrf5340bsim/nrf5340/cpunet
88
harness: bsim
9-
timeout: 2
9+
timeout: 5
1010
harness_config:
1111
bsim_exe_name:
1212
- tests_bsim_bluetooth_host_att_eatt_notif_prj_conf

tests/bsim/bluetooth/host/att/long_read/testcase.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ tests:
55
platform_allow:
66
- nrf52_bsim/native
77
harness: bsim
8-
timeout: 2
8+
timeout: 10
99
harness_config:
1010
bsim_exe_name:
1111
- tests_bsim_bluetooth_host_att_long_read_prj_conf

tests/bsim/bluetooth/host/att/mtu_update/testcase.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ common:
44
platform_allow:
55
- nrf52_bsim/native
66
harness: bsim
7-
timeout: 2
7+
timeout: 5
88

99
tests:
1010
bluetooth.host.att.mtu_update.build_central:

tests/bsim/bluetooth/host/att/open_close/testcase.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ tests:
44
- bluetooth
55
platform_allow:
66
- nrf52_bsim/native
7-
timeout: 10
7+
timeout: 20
88
harness: bsim
99
harness_config:
1010
bsim_exe_name:

tests/bsim/bluetooth/host/att/pipeline/testcase.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ common:
44
- bluetooth
55
platform_allow:
66
- nrf52_bsim/native
7-
timeout: 5
7+
timeout: 20
88
harness: bsim
99
harness_config:
1010
bsim_verbosity: 2

tests/bsim/bluetooth/host/att/read_fill_buf/testcase.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ tests:
55
- bluetooth
66
platform_allow:
77
- nrf52_bsim/native
8-
timeout: 2
8+
timeout: 5
99
harness: bsim
1010
harness_config:
1111
bsim_exe_name:

tests/bsim/bluetooth/host/att/retry_on_sec_err/testcase.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ common:
55
platform_allow:
66
- nrf52_bsim/native
77
harness: bsim
8-
timeout: 2
8+
timeout: 5
99
harness_config:
1010
bsim_verbosity: 2
1111
bsim_sim_length: 60e6

0 commit comments

Comments
 (0)