File tree Expand file tree Collapse file tree 5 files changed +16
-8
lines changed
Expand file tree Collapse file tree 5 files changed +16
-8
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,8 @@ bundle_install
2727ATLAS_URI=$MONGODB_URI \
2828 KILL_ALL_SERVER_SESSIONS=0 \
2929 EXAMPLE_TIMEOUT=600 \
30- bundle exec rspec -fd spec/integration/search_indexes_prose_spec.rb
30+ bundle exec rspec -fd spec/integration/search_indexes_prose_spec.rb \
31+ --format Rfc::Riff --format RspecJunitFormatter --out tmp/rspec.xml
3132
3233test_status=$?
3334
Original file line number Diff line number Diff line change @@ -28,4 +28,5 @@ echo "Running specs"
2828
2929export ATLAS_TESTING=1
3030
31- bundle exec rspec spec/atlas -fd
31+ bundle exec rspec spec/atlas \
32+ --format Rfc::Riff --format RspecJunitFormatter --out tmp/rspec.xml
Original file line number Diff line number Diff line change @@ -98,5 +98,6 @@ if test -n "$TEST_CMD"; then
9898 eval $TEST_CMD
9999else
100100 echo " Running tests"
101- bundle exec rspec spec/kerberos
101+ bundle exec rspec spec/kerberos \
102+ --format Rfc::Riff --format RspecJunitFormatter --out tmp/rspec.xml
102103fi
Original file line number Diff line number Diff line change @@ -41,4 +41,5 @@ bundle exec rspec \
4141 spec/spec_tests/connection_string_spec.rb \
4242 spec/mongo/uri/srv_protocol_spec.rb \
4343 spec/mongo/uri_spec.rb \
44- spec/integration/client_authentication_options_spec.rb
44+ spec/integration/client_authentication_options_spec.rb \
45+ --format Rfc::Riff --format RspecJunitFormatter --out tmp/rspec.xml
Original file line number Diff line number Diff line change @@ -349,13 +349,17 @@ set +e
349349if test -n " $TEST_CMD " ; then
350350 eval $TEST_CMD
351351elif test " $FORK " = 1; then
352- bundle exec rspec spec/integration/fork* spec.rb spec/stress/fork* spec.rb
352+ bundle exec rspec spec/integration/fork* spec.rb spec/stress/fork* spec.rb \
353+ --format Rfc::Riff --format RspecJunitFormatter --out tmp/rspec.xml
353354elif test " $STRESS " = 1; then
354- bundle exec rspec spec/integration/fork* spec.rb spec/stress
355+ bundle exec rspec spec/integration/fork* spec.rb spec/stress \
356+ --format Rfc::Riff --format RspecJunitFormatter --out tmp/rspec.xml
355357elif test " $OCSP_VERIFIER " = 1; then
356- bundle exec rspec spec/integration/ocsp_verifier_spec.rb
358+ bundle exec rspec spec/integration/ocsp_verifier_spec.rb \
359+ --format Rfc::Riff --format RspecJunitFormatter --out tmp/rspec.xml
357360elif test -n " $OCSP_CONNECTIVITY " ; then
358- bundle exec rspec spec/integration/ocsp_connectivity_spec.rb
361+ bundle exec rspec spec/integration/ocsp_connectivity_spec.rb \
362+ --format Rfc::Riff --format RspecJunitFormatter --out tmp/rspec.xml
359363elif test " $SOLO " = 1; then
360364 for attempt in ` seq 10` ; do
361365 echo " Attempt $attempt "
You can’t perform that action at this time.
0 commit comments