4889: improve error message, unit test
[arvados.git] / docker / api / crunch-dispatch-run.sh
index f422e78e385630bac21e736389b1750877a36a95..5103b1dbb15363da9255154776117c1b7560af59 100755 (executable)
@@ -14,6 +14,9 @@ export CRUNCH_JOB_BIN=/usr/src/arvados/services/crunch/crunch-job
 export HOME=`pwd`
 fuser -TERM -k $CRUNCH_DISPATCH_LOCKFILE || true
 
+# Give the compute nodes some time to start up
+sleep 5
+
 cd /usr/src/arvados/services/api
 export RAILS_ENV=production
 /usr/local/rvm/bin/rvm-exec default bundle install