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 <vich@nordicsemi.no>
This commit is contained in:
Vinayak Kariappa Chettimada 2024-11-19 05:12:25 +01:00 committed by Benjamin Cabé
commit 98130afd0a
3 changed files with 3 additions and 1 deletions

View file

@ -27,7 +27,7 @@
#include <zephyr/bluetooth/uuid.h>
#include <zephyr/bluetooth/gatt.h>
#define WAIT_SECONDS 30 /* seconds */
#define WAIT_SECONDS 15 /* seconds */
#define WAIT_TIME (WAIT_SECONDS * USEC_PER_SEC) /* microseconds*/
#define CREATE_FLAG(flag) static atomic_t flag = (atomic_t)false

View file

@ -9,6 +9,7 @@ source ${ZEPHYR_BASE}/tests/bsim/sh_common.source
simulation_id="per_adv_conn_privacy"
verbosity_level=2
EXECUTE_TIMEOUT=60
cd ${BSIM_OUT_PATH}/bin

View file

@ -9,6 +9,7 @@ source ${ZEPHYR_BASE}/tests/bsim/sh_common.source
simulation_id="per_adv_long_data"
verbosity_level=2
EXECUTE_TIMEOUT=60
cd ${BSIM_OUT_PATH}/bin