pespin has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/37455?usp=email )
Change subject: asterisk: Increase timeout waiting for AMI event FullyBooted ......................................................................
asterisk: Increase timeout waiting for AMI event FullyBooted
Change-Id: Ibd2bbdc4b916b5baca01407bac3cc5e9a99500e3 --- M asterisk/Asterisk_Tests.ttcn 1 file changed, 12 insertions(+), 1 deletion(-)
Approvals: pespin: Looks good to me, approved Jenkins Builder: Verified
diff --git a/asterisk/Asterisk_Tests.ttcn b/asterisk/Asterisk_Tests.ttcn index 0796d99..c6ac698 100644 --- a/asterisk/Asterisk_Tests.ttcn +++ b/asterisk/Asterisk_Tests.ttcn @@ -51,6 +51,8 @@ charstring mp_volte_ims_outbound_registration := "volte_ims"; /* Current default by pjproject (timeout_timer_val) is set to 32s, and not changed by Asterisk */ integer mp_volte_ims_outbound_register_timeout := 32; + /* It can sometimes take up to ~30s for Asterisk to finish startup and sending the FullyBooted event... */ + float mp_ami_ev_fullybooted_timeout := 30.0; }
type component test_CT { @@ -113,7 +115,7 @@ f_ami_action_login(AMI_CLIENT, mp_ami_user, mp_ami_secret);
timer tReady; - tReady.start(10.0); + tReady.start(mp_ami_ev_fullybooted_timeout); alt { [] AMI_CLIENT.receive(tr_AMI_Event_FullyBooted); [] as_ami_rx_ignore(AMI_CLIENT);