18766: be a bit smarter about the preseeding of the go module cache and
[arvados.git] / build / run-tests.sh
index f716cb35f2009f2b2d6543a168b160695dd3ebd2..3592efbdc2bee5f6c4e25251677c581dcf65c088 100755 (executable)
@@ -961,11 +961,11 @@ install_services/api() {
         set -ex
         cd "$WORKSPACE/services/api"
         export RAILS_ENV=test
-        if "$bundle" exec rails db:environment:set ; then
-            "$bundle" exec rake db:drop
+        if bin/rails db:environment:set ; then
+            bin/rake db:drop
         fi
-        "$bundle" exec rake db:setup
-        "$bundle" exec rake db:fixtures:load
+        bin/rake db:setup
+        bin/rake db:fixtures:load
     ) || return 1
 }