hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mit Desai (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-6104) TestFsLimits#testDefaultMaxComponentLength Fails on branch-2
Date Fri, 14 Mar 2014 13:50:47 GMT
Mit Desai created HDFS-6104:

             Summary: TestFsLimits#testDefaultMaxComponentLength Fails on branch-2
                 Key: HDFS-6104
                 URL: https://issues.apache.org/jira/browse/HDFS-6104
             Project: Hadoop HDFS
          Issue Type: Bug
    Affects Versions: 2.4.0
            Reporter: Mit Desai
            Assignee: Mit Desai

testDefaultMaxComponentLength fails intermittently with the following error
java.lang.AssertionError: expected:<0> but was:<255>
	at org.junit.Assert.fail(Assert.java:93)
	at org.junit.Assert.failNotEquals(Assert.java:647)
	at org.junit.Assert.assertEquals(Assert.java:128)
	at org.junit.Assert.assertEquals(Assert.java:472)
	at org.junit.Assert.assertEquals(Assert.java:456)
	at org.apache.hadoop.hdfs.server.namenode.TestFsLimits.testDefaultMaxComponentLength(TestFsLimits.java:90)

On doing some research, I found that this is actually a JDK7 issue.
The test always fails when it runs after any test that runs addChildWithName() method

This message was sent by Atlassian JIRA

View raw message