Fail bootstrap immediately if no topology found
[csit.git] / bootstrap-verify-perf.sh
index b849389..9e1d43a 100755 (executable)
@@ -110,6 +110,10 @@ virtualenv --system-site-packages env
 . env/bin/activate
 pip install -r requirements.txt
 
 . env/bin/activate
 pip install -r requirements.txt
 
+if [ -z "${TOPOLOGIES}" ]; then
+    echo "No applicable topology found!"
+    exit 1
+fi
 # We iterate over available topologies and wait until we reserve topology
 while :; do
     for TOPOLOGY in ${TOPOLOGIES};
 # We iterate over available topologies and wait until we reserve topology
 while :; do
     for TOPOLOGY in ${TOPOLOGIES};