Count JS test pass/fails; return proper exit code#456
Merged
Conversation
Member
Author
|
Ironically, the failed Travis CI run shows exactly what I mean. I don't know if the failing JS test ( ETA: Restarting Travis fixed the failing test. We really need to fix our test suite :( |
Member
|
+1 \o/ passing tests |
nickva
added a commit
to nickva/couchdb
that referenced
this pull request
Sep 7, 2022
Recently "info" field for running and pending states switched to having replication stats instead of being `null`, so update documentation accordingly. Related PR: apache#2292
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Currently
test/javascript/runalways returns an exit code of0,regardless of whether any tests fail or not. This makes any sort of
automated testing that expects to inspect the results of the run
invalid.
make javascriptshould now properly fail if any of the JS tests fail.It also prints a numerical summary of passed/failed tests, similar to
the eunit results.
Fixes COUCHDB-3328