Fixing mention of mysql_test:ping, which should match the rake target named database_test:ping

Ian Blenke 8 years ago
parent
commit
564c1c352f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docker/scripts/init

+ 1 - 1
docker/scripts/init

@@ -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}