#!/bin/bash -ex

cd $(dirname $0)/../../git-bits-service-client

# work around flaky DNS resolution
for i in $(seq 1 254); do
  echo 10.250.0.$i 10.250.0.$i.xip.io >> /etc/hosts
done

bundle install && bundle exec rspec spec

#!/bin/bash -ex

cd $(dirname $0)/../../git-bits-service-client

bundle install && bundle exec rspec spec

--- 
+++ 
@@ -2,4 +2,9 @@
 
 cd $(dirname $0)/../../git-bits-service-client
 
+# work around flaky DNS resolution
+for i in $(seq 1 254); do
+  echo 10.250.0.$i 10.250.0.$i.xip.io >> /etc/hosts
+done
+
 bundle install && bundle exec rspec spec
Work around flaky DNS resolution

Signed-off-by: Peter Goetz <1bf679f6f155949fea19af278a2667a47961da6b@gmail.com>
