Repository: sentry Updated Branches: refs/heads/master 4a768a8c7 -> a4924edc7
SENTRY-2096: Fail unit tests at end during test-patch.py execution (Na Li, reviewed by Sergio Pena) Project: http://git-wip-us.apache.org/repos/asf/sentry/repo Commit: http://git-wip-us.apache.org/repos/asf/sentry/commit/a4924edc Tree: http://git-wip-us.apache.org/repos/asf/sentry/tree/a4924edc Diff: http://git-wip-us.apache.org/repos/asf/sentry/diff/a4924edc Branch: refs/heads/master Commit: a4924edc79b26f937e3e5ea3584f0b4307dd4135 Parents: 4a768a8 Author: Sergio Pena <[email protected]> Authored: Fri Dec 15 10:47:23 2017 -0600 Committer: Sergio Pena <[email protected]> Committed: Fri Dec 15 10:47:23 2017 -0600 ---------------------------------------------------------------------- dev-support/test-patch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/sentry/blob/a4924edc/dev-support/test-patch.py ---------------------------------------------------------------------- diff --git a/dev-support/test-patch.py b/dev-support/test-patch.py index e44be3a..69d8711 100644 --- a/dev-support/test-patch.py +++ b/dev-support/test-patch.py @@ -146,7 +146,7 @@ def find_all_files(top): yield os.path.join(root, f) def mvn_test(result, mvn_repo, output_dir, mvn_profile): - rc = execute("mvn verify -Dmaven.repo.local=%s %s 1>%s/test.txt 2>&1" % (mvn_repo, mvn_profile, output_dir)) + rc = execute("mvn verify --fail-at-end -Dmaven.repo.local=%s %s 1>%s/test.txt 2>&1" % (mvn_repo, mvn_profile, output_dir)) if rc == 0: result.success("all tests passed") else:
