You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Mukul Kumar Singh (JIRA)" <ji...@apache.org> on 2017/06/19 14:55:00 UTC
[jira] [Commented] (HDFS-11970) Ozone:
TestXceiverClientManager.testFreeByEviction fails occasionally
[ https://issues.apache.org/jira/browse/HDFS-11970?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16054144#comment-16054144 ]
Mukul Kumar Singh commented on HDFS-11970:
------------------------------------------
This test fails because with cache size of 2 for testFreeByEviction, it is possible to correctly predict the order of eviction of elements.
Inorder to fix this test, the cache size has been reduced to 1. This test is similar to TestDFSClientCache.
> Ozone: TestXceiverClientManager.testFreeByEviction fails occasionally
> ---------------------------------------------------------------------
>
> Key: HDFS-11970
> URL: https://issues.apache.org/jira/browse/HDFS-11970
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: ozone
> Affects Versions: HDFS-7240
> Reporter: Mukul Kumar Singh
> Assignee: Mukul Kumar Singh
> Fix For: HDFS-7240
>
>
> TestXceiverClientManager.testFreeByEviction fails occasionally with the following stack trace.
> {code}
> Running org.apache.hadoop.ozone.scm.TestXceiverClientManager
> Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 8.989 sec <<< FAILURE! - in org.apache.hadoop.ozone.scm.TestXceiverClientManager
> testFreeByEviction(org.apache.hadoop.ozone.scm.TestXceiverClientManager) Time elapsed: 0.024 sec <<< FAILURE!
> java.lang.AssertionError: expected:<or...@78faea5f> but was:<null>
> at org.junit.Assert.fail(Assert.java:88)
> at org.junit.Assert.failNotEquals(Assert.java:743)
> at org.junit.Assert.assertEquals(Assert.java:118)
> at org.junit.Assert.assertEquals(Assert.java:144)
> at org.apache.hadoop.ozone.scm.TestXceiverClientManager.testFreeByEviction(TestXceiverClientManager.java:184)
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org