Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 45536200D5C for ; Fri, 15 Dec 2017 17:48:23 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 43B3E160C14; Fri, 15 Dec 2017 16:48:23 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id AF423160C04 for ; Fri, 15 Dec 2017 17:48:22 +0100 (CET) Received: (qmail 55457 invoked by uid 500); 15 Dec 2017 16:48:21 -0000 Mailing-List: contact commits-help@sentry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@sentry.apache.org Delivered-To: mailing list commits@sentry.apache.org Received: (qmail 55448 invoked by uid 99); 15 Dec 2017 16:48:21 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Dec 2017 16:48:21 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id BE3E7DFF75; Fri, 15 Dec 2017 16:48:21 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: spena@apache.org To: commits@sentry.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: sentry git commit: SENTRY-2096: Fail unit tests at end during test-patch.py execution (Na Li, reviewed by Sergio Pena) Date: Fri, 15 Dec 2017 16:48:21 +0000 (UTC) archived-at: Fri, 15 Dec 2017 16:48:23 -0000 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 Authored: Fri Dec 15 10:47:23 2017 -0600 Committer: Sergio Pena 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: