Code Review
/
integration.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Add support for ODL credentials that have changed
[integration.git]
/
test
/
csit
/
scripts
/
common_functions.sh
diff --git
a/test/csit/scripts/common_functions.sh
b/test/csit/scripts/common_functions.sh
index
4293a52
..
684c418
100755
(executable)
--- a/
test/csit/scripts/common_functions.sh
+++ b/
test/csit/scripts/common_functions.sh
@@
-250,3
+250,14
@@
function bypass_ip_adress ()
export no_proxy=$no_proxy,$ip_address
fi
}
+
+function wait_for_service_init ()
+{
+ local service_url=$1
+
+ for delay in {1..50}; do
+ curl -sS ${service_url} && break
+ echo "$delay - Waiting for $service_url..."
+ sleep $delay
+ done
+}