pespin has uploaded this change for review.
asterisk: Increate timeout waiting for AMI event FullyBooted
Change-Id: Ibd2bbdc4b916b5baca01407bac3cc5e9a99500e3
---
M asterisk/Asterisk_Tests.ttcn
1 file changed, 12 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/55/37455/1
diff --git a/asterisk/Asterisk_Tests.ttcn b/asterisk/Asterisk_Tests.ttcn
index 0796d99..34dad58 100644
--- a/asterisk/Asterisk_Tests.ttcn
+++ b/asterisk/Asterisk_Tests.ttcn
@@ -112,8 +112,10 @@
f_ami_action_login(AMI_CLIENT, mp_ami_user, mp_ami_secret);
+ /* It can sometimes take up to ~30s for Asterisk to finish startup and
+ * sending the FullyBooted event... */
timer tReady;
- tReady.start(10.0);
+ tReady.start(30.0);
alt {
[] AMI_CLIENT.receive(tr_AMI_Event_FullyBooted);
[] as_ami_rx_ignore(AMI_CLIENT);
To view, visit change 37455. To unsubscribe, or for help writing mail filters, visit settings.