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 415D3200CA6 for ; Tue, 13 Jun 2017 16:25:10 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 3FB25160BE9; Tue, 13 Jun 2017 14:25:10 +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 85C12160BC9 for ; Tue, 13 Jun 2017 16:25:09 +0200 (CEST) Received: (qmail 60563 invoked by uid 500); 13 Jun 2017 14:25:07 -0000 Mailing-List: contact issues-help@geode.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@geode.apache.org Delivered-To: mailing list issues@geode.apache.org Received: (qmail 60554 invoked by uid 99); 13 Jun 2017 14:25:07 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Jun 2017 14:25:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 59B8B1813D7 for ; Tue, 13 Jun 2017 14:25:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id GCdU8rygpmRZ for ; Tue, 13 Jun 2017 14:25:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 6358060EBD for ; Tue, 13 Jun 2017 14:25:02 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 61DE4E0D5C for ; Tue, 13 Jun 2017 14:25:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 2CE2921E12 for ; Tue, 13 Jun 2017 14:25:00 +0000 (UTC) Date: Tue, 13 Jun 2017 14:25:00 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@geode.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (GEODE-3048) Tests that require the Gradle test runner should fail descriptively when run through Intellij MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 13 Jun 2017 14:25:10 -0000 [ https://issues.apache.org/jira/browse/GEODE-3048?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16047958#comment-16047958 ] ASF GitHub Bot commented on GEODE-3048: --------------------------------------- Github user pdxrunner commented on a diff in the pull request: https://github.com/apache/geode/pull/575#discussion_r121690753 --- Diff: geode-assembly/src/test/java/org/apache/geode/management/internal/cli/commands/LauncherLifecycleCommandsIntegrationTest.java --- @@ -39,6 +39,8 @@ import org.junit.Before; import org.junit.Rule; import org.junit.Test; +import org.junit.ClassRule; --- End diff -- Imports should be reordered to the project standard ordering. > Tests that require the Gradle test runner should fail descriptively when run through Intellij > --------------------------------------------------------------------------------------------- > > Key: GEODE-3048 > URL: https://issues.apache.org/jira/browse/GEODE-3048 > Project: Geode > Issue Type: Bug > Components: management, tests > Reporter: Jared Stewart > Assignee: Jared Stewart > > We have some tests the only pass when run through gradle (as opposed to running via the Intellij test runner). If one of these tests fails in CI, it is easy to being debugging them in the IDE without realizing that they will *never* pass when not run via gradle. Until we fix the underlying issues that require running through gradle, it would be nice for such tests to detect when they are running outside of gradle, and to notify the user that they should be expected to fail. -- This message was sent by Atlassian JIRA (v6.4.14#64029)