Return-Path: X-Original-To: apmail-hive-commits-archive@www.apache.org Delivered-To: apmail-hive-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A2FF018B54 for ; Wed, 14 Oct 2015 01:58:49 +0000 (UTC) Received: (qmail 31978 invoked by uid 500); 14 Oct 2015 01:58:49 -0000 Delivered-To: apmail-hive-commits-archive@hive.apache.org Received: (qmail 31925 invoked by uid 500); 14 Oct 2015 01:58:49 -0000 Mailing-List: contact commits-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hive-dev@hive.apache.org Delivered-To: mailing list commits@hive.apache.org Received: (qmail 31914 invoked by uid 99); 14 Oct 2015 01:58:49 -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; Wed, 14 Oct 2015 01:58:49 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 5EB62E0286; Wed, 14 Oct 2015 01:58:49 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: szehon@apache.org To: commits@hive.apache.org Message-Id: <4aa0e31d4860486395d4bf865d9fe05b@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: hive git commit: HIVE-12168 : Addendum to HIVE-12038 (Szehon, reviewed by Sergey) Date: Wed, 14 Oct 2015 01:58:49 +0000 (UTC) Repository: hive Updated Branches: refs/heads/master 1d2e5eed3 -> 072665b13 HIVE-12168 : Addendum to HIVE-12038 (Szehon, reviewed by Sergey) Project: http://git-wip-us.apache.org/repos/asf/hive/repo Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/072665b1 Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/072665b1 Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/072665b1 Branch: refs/heads/master Commit: 072665b1320d839d8b6690228288ad770ba92f45 Parents: 1d2e5ee Author: Szehon Ho Authored: Tue Oct 13 18:58:29 2015 -0700 Committer: Szehon Ho Committed: Tue Oct 13 18:58:29 2015 -0700 ---------------------------------------------------------------------- .../src/main/java/org/apache/hive/ptest/execution/JIRAService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hive/blob/072665b1/testutils/ptest2/src/main/java/org/apache/hive/ptest/execution/JIRAService.java ---------------------------------------------------------------------- diff --git a/testutils/ptest2/src/main/java/org/apache/hive/ptest/execution/JIRAService.java b/testutils/ptest2/src/main/java/org/apache/hive/ptest/execution/JIRAService.java index 03a6321..ff1dbd4 100644 --- a/testutils/ptest2/src/main/java/org/apache/hive/ptest/execution/JIRAService.java +++ b/testutils/ptest2/src/main/java/org/apache/hive/ptest/execution/JIRAService.java @@ -118,7 +118,7 @@ class JIRAService { comments.add(mPatch); } comments.add(""); - if (error) { + if (error && numTestsExecuted == 0) { comments.add(formatError("-1 due to build exiting with an error")); } else { if (addedTests.size() > 0) {