Return-Path: X-Original-To: apmail-accumulo-notifications-archive@minotaur.apache.org Delivered-To: apmail-accumulo-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4FC9617F94 for ; Thu, 9 Apr 2015 19:34:14 +0000 (UTC) Received: (qmail 260 invoked by uid 500); 9 Apr 2015 19:34:14 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 223 invoked by uid 500); 9 Apr 2015 19:34:14 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 208 invoked by uid 99); 9 Apr 2015 19:34:14 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Apr 2015 19:34:14 +0000 Date: Thu, 9 Apr 2015 19:34:14 +0000 (UTC) From: "Christopher Tubbs (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ACCUMULO-2781) Unit tests should reuse forks by default MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/ACCUMULO-2781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14488084#comment-14488084 ] Christopher Tubbs commented on ACCUMULO-2781: --------------------------------------------- So, I just tried to run tests with {{-DreuseForks=true}} and I got a lot of failures from our mapreduce tests starting like {{IO Can't get Master Kerberos principal for use ...}} So, right now, reuseForks will not work for unit tests. This needs further investigation to figure out why. > Unit tests should reuse forks by default > ---------------------------------------- > > Key: ACCUMULO-2781 > URL: https://issues.apache.org/jira/browse/ACCUMULO-2781 > Project: Accumulo > Issue Type: Improvement > Components: build > Affects Versions: 1.6.0 > Reporter: Christopher Tubbs > Fix For: 1.8.0 > > > The default value for maven-surefire-plugin's reuseForks is true. This is set to false in our pom.xml in order to keep ITs independent. This inadvertently affects unit tests also, and causes unit tests to create a new JVM for each test class. > These should be separated, and the default for unit tests (maven-surefire-plugin's execution) should be {{reuseForks=true}}, and the default for ITs (maven-failsafe-plugin's execution) should be {{reuseForks=false}} (as it is now). -- This message was sent by Atlassian JIRA (v6.3.4#6332)