Bluetooth: Tests: Reduce simulation time for L2CAP test

The test was running for unnecessarily long.

Signed-off-by: Herman Berget <herman.berget@nordicsemi.no>
This commit is contained in:
Herman Berget 2022-05-04 13:54:37 +02:00 committed by Maureen Helm
parent b51353628a
commit 51dde9e87a
3 changed files with 3 additions and 3 deletions

View file

@ -23,7 +23,7 @@ void test_init(void)
void test_tick(bs_time_t HW_device_time)
{
if (bst_result != Passed) {
FAIL("test failed (not passed after %i seconds)\n", WAIT_TIME);
FAIL("test failed (not passed after %i us)\n", WAIT_TIME);
}
}

View file

@ -34,7 +34,7 @@
}
#define WAIT_TIME (240 * NSEC_PER_SEC) /* 240 seconds*/
#define WAIT_TIME (60e6) /* 60 seconds*/
#define FAIL(...) \
do { \

View file

@ -30,7 +30,7 @@ Execute ./bs_${BOARD}_tests_bluetooth_bsim_bt_bsim_test_l2cap_prj_conf \
-v=${verbosity_level} -s=${simulation_id} -d=1 -testid=peripheral -rs=42
Execute ./bs_2G4_phy_v1 -v=${verbosity_level} -s=${simulation_id} \
-D=2 -sim_length=60e9 $@
-D=2 -sim_length=60e6 $@
for process_id in $process_ids; do
wait $process_id || let "exit_code=$?"