Skip to content

Commit 4ef16d0

Browse files
committed
tests: bsim: Bluetooth: Fix simulation length be greater than wait time
Fix some test simulation length be greater than wait time. These tests completed within 12 seconds, 15 second wait time is a good value with included margin and a 20 second simulation time. These tests failed on this PR CI. Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
1 parent c5a2130 commit 4ef16d0

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

tests/bsim/bluetooth/host/adv/periodic/src/common.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
#include <zephyr/bluetooth/uuid.h>
2828
#include <zephyr/bluetooth/gatt.h>
2929

30-
#define WAIT_SECONDS 30 /* seconds */
30+
#define WAIT_SECONDS 15 /* seconds */
3131
#define WAIT_TIME (WAIT_SECONDS * USEC_PER_SEC) /* microseconds*/
3232

3333
#define CREATE_FLAG(flag) static atomic_t flag = (atomic_t)false

tests/bsim/bluetooth/host/adv/periodic/tests_scripts/per_adv_conn_privacy.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ source ${ZEPHYR_BASE}/tests/bsim/sh_common.source
99

1010
simulation_id="per_adv_conn_privacy"
1111
verbosity_level=2
12+
EXECUTE_TIMEOUT=60
1213

1314
cd ${BSIM_OUT_PATH}/bin
1415

tests/bsim/bluetooth/host/adv/periodic/tests_scripts/per_adv_long_data.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ source ${ZEPHYR_BASE}/tests/bsim/sh_common.source
99

1010
simulation_id="per_adv_long_data"
1111
verbosity_level=2
12+
EXECUTE_TIMEOUT=60
1213

1314
cd ${BSIM_OUT_PATH}/bin
1415

0 commit comments

Comments
 (0)