Make sure services are running for test-setup.sh
Add a check to confirm mysql and zookeeper are running.
Change-Id: I5c46b0c33bfd6c474793900b296dedf07ca28164
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
diff --git a/tools/test-setup.sh b/tools/test-setup.sh
index f4a0458..3bdedf5 100755
--- a/tools/test-setup.sh
+++ b/tools/test-setup.sh
@@ -6,6 +6,10 @@
# This setup needs to be run as a user that can run sudo.
+# Be sure mysql and zookeeper are started.
+sudo service mysql start
+sudo service zookeeper start
+
# The root password for the MySQL database; pass it in via
# MYSQL_ROOT_PW.
DB_ROOT_PW=${MYSQL_ROOT_PW:-insecure_slave}