hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-9024) Unit Test: TestKerberosAuthenticator fails when tested with ant-1.8.4
Date Tue, 13 Nov 2012 19:24:12 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-9024?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13496455#comment-13496455
] 

Hadoop QA commented on HADOOP-9024:
-----------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12553349/HADOOP-9024-branch-1.patch
  against trunk revision .

    {color:red}-1 patch{color}.  The patch command could not apply the patch.

Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/1736//console

This message is automatically generated.
                
> Unit Test: TestKerberosAuthenticator fails when tested  with ant-1.8.4
> ----------------------------------------------------------------------
>
>                 Key: HADOOP-9024
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9024
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 1.0.3, 1.0.4
>         Environment: Linux Fedora 17_64
>            Reporter: Amir Sanjar
>            Priority: Minor
>             Fix For: 1.0.3, 1.0.4
>
>         Attachments: HADOOP-9024-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

Mime
View raw message