You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Andrew Wang (JIRA)" <ji...@apache.org> on 2013/11/13 02:45:17 UTC

[jira] [Created] (HDFS-5509) TestPathBasedCacheRequests#testReplicationFactor is flaky

Andrew Wang created HDFS-5509:
---------------------------------

             Summary: TestPathBasedCacheRequests#testReplicationFactor is flaky
                 Key: HDFS-5509
                 URL: https://issues.apache.org/jira/browse/HDFS-5509
             Project: Hadoop HDFS
          Issue Type: Sub-task
    Affects Versions: 3.0.0
            Reporter: Andrew Wang
            Assignee: Andrew Wang


Test flakes out sometimes with the following:

{code}
Running org.apache.hadoop.hdfs.server.namenode.TestPathBasedCacheRequests
Tests run: 9, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 72.191 sec <<< FAILURE! - in org.apache.hadoop.hdfs.server.namenode.TestPathBasedCacheRequests
testReplicationFactor(org.apache.hadoop.hdfs.server.namenode.TestPathBasedCacheRequests)  Time elapsed: 7.449 sec  <<< FAILURE!
java.lang.AssertionError: Unexpected number of cached blocks expected:<4> but was:<3>
	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.apache.hadoop.hdfs.server.namenode.TestPathBasedCacheRequests.checkNumCachedReplicas(TestPathBasedCacheRequests.java:619)
	at org.apache.hadoop.hdfs.server.namenode.TestPathBasedCacheRequests.testReplicationFactor(TestPathBasedCacheRequests.java:843)
{code}



--
This message was sent by Atlassian JIRA
(v6.1#6144)