Return-Path: X-Original-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 30FE318F77 for ; Mon, 22 Feb 2016 07:09:26 +0000 (UTC) Received: (qmail 65327 invoked by uid 500); 22 Feb 2016 07:09:19 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 65164 invoked by uid 500); 22 Feb 2016 07:09:19 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 64970 invoked by uid 99); 22 Feb 2016 07:09:18 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Feb 2016 07:09:18 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 29BE32C14F8 for ; Mon, 22 Feb 2016 07:09:18 +0000 (UTC) Date: Mon, 22 Feb 2016 07:09:18 +0000 (UTC) From: "Akira AJISAKA (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (MAPREDUCE-6642) Move the constructor to a method in HadoopTestCase MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Akira AJISAKA created MAPREDUCE-6642: ---------------------------------------- Summary: Move the constructor to a method in HadoopTestCase Key: MAPREDUCE-6642 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6642 Project: Hadoop Map/Reduce Issue Type: Improvement Components: test Reporter: Akira AJISAKA Priority: Minor After migrating to JUnit4, {code:title=HadoopTestCase.java} public HadoopTestCase(int mrMode, int fsMode, int taskTrackers, int dataNodes) {code} the above constructor can be changed to a configure method and call it from @BeforeClass method of the subclasses. That way we can make the test more simple. -- This message was sent by Atlassian JIRA (v6.3.4#6332)