Fixes API Server's test runner to print failures summary at the end of the run.
authorLucas Di Pentima <ldipentima@veritasgenetics.com>
Fri, 26 Apr 2019 23:34:07 +0000 (20:34 -0300)
committerLucas Di Pentima <ldipentima@veritasgenetics.com>
Fri, 26 Apr 2019 23:34:07 +0000 (20:34 -0300)
No issue #

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima@veritasgenetics.com>

build/run-tests.sh

index d8ae7c3c94df3cdf1c814e689b208a4b2dfcb1e3..909d43a32f251501d62bc38dd6c724dfccf97676 100755 (executable)
@@ -1051,7 +1051,7 @@ test_gofmt() {
 test_services/api() {
     rm -f "$WORKSPACE/services/api/git-commit.version"
     cd "$WORKSPACE/services/api" \
-        && env RAILS_ENV=test ${short:+RAILS_TEST_SHORT=1} bundle exec rake test TESTOPTS=-v ${testargs[services/api]}
+        && env RAILS_ENV=test ${short:+RAILS_TEST_SHORT=1} bundle exec bin/rails test TESTOPTS='-v -d' ${testargs[services/api]}
 }
 
 test_sdk/ruby() {