Ver código fonte

Merge pull request #498 from mailgun/maxim/vagrant

Make sure the toxiproxy path is based in the repository root
Evan Huus 10 anos atrás
pai
commit
bcfa33ec9c
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      vagrant/boot_cluster.sh

+ 1 - 1
vagrant/boot_cluster.sh

@@ -3,7 +3,7 @@
 set -ex
 set -ex
 
 
 # Launch and wait for toxiproxy
 # Launch and wait for toxiproxy
-vagrant/run_toxiproxy.sh &
+${REPOSITORY_ROOT}/vagrant/run_toxiproxy.sh &
 while ! nc -q 1 localhost 2181 </dev/null; do echo "Waiting"; sleep 1; done
 while ! nc -q 1 localhost 2181 </dev/null; do echo "Waiting"; sleep 1; done
 while ! nc -q 1 localhost 9092 </dev/null; do echo "Waiting"; sleep 1; done
 while ! nc -q 1 localhost 9092 </dev/null; do echo "Waiting"; sleep 1; done