[Asterisk-code-review] CI: runUnittests: loop a few times on waitfullybooted (asterisk[certified/13.21])

George Joseph asteriskteam at digium.com
Mon Jul 16 11:10:34 CDT 2018


George Joseph has uploaded this change for review. ( https://gerrit.asterisk.org/9458


Change subject: CI: runUnittests: loop a few times on waitfullybooted
......................................................................

CI: runUnittests: loop a few times on waitfullybooted

Change-Id: Icebc0d013896f3b2a7214945cac60647435c1651
---
M tests/CI/runUnittests.sh
1 file changed, 4 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/58/9458/1

diff --git a/tests/CI/runUnittests.sh b/tests/CI/runUnittests.sh
index 19f96c4..0ad5f49 100755
--- a/tests/CI/runUnittests.sh
+++ b/tests/CI/runUnittests.sh
@@ -52,8 +52,10 @@
 
 set -x
 sudo $ASTERISK ${USER_GROUP:+-U ${USER_GROUP%%:*} -G ${USER_GROUP##*:}} -gn -C $CONFFILE
-sleep 3
-$ASTERISK -rx "core waitfullybooted" -C $CONFFILE
+for n in `seq 1 5` ; do
+	sleep 3
+	$ASTERISK -rx "core waitfullybooted" -C $CONFFILE && break
+done
 sleep 1
 $ASTERISK -rx "${TEST_COMMAND:-test execute all}" -C $CONFFILE
 $ASTERISK -rx "test show results failed" -C $CONFFILE

-- 
To view, visit https://gerrit.asterisk.org/9458
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: certified/13.21
Gerrit-MessageType: newchange
Gerrit-Change-Id: Icebc0d013896f3b2a7214945cac60647435c1651
Gerrit-Change-Number: 9458
Gerrit-PatchSet: 1
Gerrit-Owner: George Joseph <gjoseph at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20180716/8a2e6926/attachment.html>


More information about the asterisk-code-review mailing list