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:
parent
ac80a8e421
commit
ce3f1b829c
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue