[Asterisk-code-review] CI: runUnittests: loop a few times on waitfullybooted (asterisk[13])
George Joseph
asteriskteam at digium.com
Mon Jul 16 11:09:58 CDT 2018
George Joseph has uploaded this change for review. ( https://gerrit.asterisk.org/9456
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/56/9456/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/9456
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-MessageType: newchange
Gerrit-Change-Id: Icebc0d013896f3b2a7214945cac60647435c1651
Gerrit-Change-Number: 9456
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/58d5d08c/attachment.html>
More information about the asterisk-code-review
mailing list