|
|
@@ -156,7 +156,7 @@ fi
|
156
|
156
|
if [ -n "\${DATABASE_INITIAL_CONNECT_MAX_RETRIES}" ]; then
|
157
|
157
|
max=\${DATABASE_INITIAL_CONNECT_MAX_RETRIES}
|
158
|
158
|
count=0
|
159
|
|
- while ! rake mysql_test:ping > /dev/null 2>&1 && [[ \$count -le \$max ]] ; do
|
|
159
|
+ while ! rake database_test:ping > /dev/null 2>&1 && [[ \$count -le \$max ]] ; do
|
160
|
160
|
count=\$[\$count+1]
|
161
|
161
|
echo "Retry \$count of \$max attempting to connect to \$DATABASE_HOST. Sleeping \${DATABASE_INITIAL_CONNECT_SLEEP:5}"
|
162
|
162
|
sleep \${DATABASE_INITIAL_CONNECT_SLEEP:5}
|