edit test/setup.sh so goose gets installed before create_db.sh is run (#2104)

The create_db.sh script needs goose to create and fill the database. This is not
available yet, because it is simultaneously being installed in line 10. By moving the create_db.sh call after the `wait`, we make sure goose is available.
This commit is contained in:
Maarten 2016-08-04 20:09:26 +02:00 committed by Jacob Hoffman-Andrews
parent ac80a8e421
commit ce3f1b829c
1 changed files with 3 additions and 3 deletions

View File

@ -19,9 +19,6 @@ go get \
github.com/tools/godep \
golang.org/x/tools/cover &
# Create the database and roles
./test/create_db.sh &
(curl -sL https://github.com/google/protobuf/releases/download/v2.6.1/protobuf-2.6.1.tar.gz | \
tar -xzv &&
cd protobuf-2.6.1 && ./configure --prefix=$HOME && make && make install) &
@ -31,3 +28,6 @@ go run cmd/rabbitmq-setup/main.go -server amqp://boulder-rabbitmq &
# Wait for all the background commands to finish.
wait
# Create the database and roles
./test/create_db.sh