From 16afcc0be87ff0754214ca9022bf883f2cd3205e Mon Sep 17 00:00:00 2001 From: Paul Belanger Date: Tue, 6 Mar 2018 17:17:03 -0500 Subject: [PATCH] Install zoo.cfg for zookeeper testing Again, this is why we don't want to depend on zookeeper for testing, more distro specific things we need to carry. Change-Id: Id221cd955e789d4a11721777f32d21c227afecf3 Signed-off-by: Paul Belanger --- tools/test-setup.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tools/test-setup.sh b/tools/test-setup.sh index dab8196..4c0c15a 100755 --- a/tools/test-setup.sh +++ b/tools/test-setup.sh @@ -4,5 +4,10 @@ # it sets up the test system as needed. # Developers should setup their test systems in a similar way. +# On fedora we need to copy sample config +if [ -f /etc/zookeeper/zoo_sample.cfg ]; then + sudo cp /etc/zookeeper/zoo_sample.cfg /etc/zookeeper/zoo.cfg +fi + # Be sure zookeeper is started. sudo service zookeeper start