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 12B78D262 for ; Wed, 14 Nov 2012 17:34:13 +0000 (UTC) Received: (qmail 7318 invoked by uid 500); 14 Nov 2012 17:34:12 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 7284 invoked by uid 500); 14 Nov 2012 17:34:12 -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 7275 invoked by uid 99); 14 Nov 2012 17:34:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Nov 2012 17:34:12 +0000 Date: Wed, 14 Nov 2012 17:34:12 +0000 (UTC) From: "Amir Sanjar (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: <239471075.114604.1352914452842.JavaMail.jiratomcat@arcas> In-Reply-To: <808801491.86879.1352385073126.JavaMail.jiratomcat@arcas> Subject: [jira] [Updated] (MAPREDUCE-4781) Unit test TestKerberosAuthenticationHandler fails with ant 1.8.3+ 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/MAPREDUCE-4781?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Amir Sanjar updated MAPREDUCE-4781: ----------------------------------- Attachment: (was: HADOOP-9024-branch-1.patch) > Unit test TestKerberosAuthenticationHandler fails with ant 1.8.3+ > ----------------------------------------------------------------- > > Key: MAPREDUCE-4781 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-4781 > Project: Hadoop Map/Reduce > Issue Type: Bug > Affects Versions: 1.0.3 > Environment: Fedora 17_64 on x86 > Reporter: Amir Sanjar > Attachments: MAPREDUCE-4781-branch-1.patch > > > Problem: > JUnit tag @Ignore is not recognized since the testcase is JUnit3 and not JUnit4: > Solution: > Migrate the testcase to JUnit4 > How: > Remove extends TestCase" > SetUp and TearDown methods > @Override > protected void setUp() throws Exception { } > replaced by: > @Before > public void setUp() throws Exception { } > Same for tearDown(): > @Override > protected void tearDown() throws Exception { } > replaced by > @After > public void tearDown() throws Exception { } > Imports > The imports has to be reorganized: > Remove import junit.framework.TestCase; > Add org.junit.*; or import org.junit.After; import org.junit.Before; import org.junit.Test; -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira