Description
TestCallQueueManager#testSwapUnderContention fails occasionally on a test VM with this assert.
java.lang.AssertionError: null
at org.junit.Assert.fail(Assert.java:92)
at org.junit.Assert.assertTrue(Assert.java:43)
at org.junit.Assert.assertTrue(Assert.java:54)
at org.apache.hadoop.ipc.TestCallQueueManager.testSwapUnderContention(TestCallQueueManager.java:193)
Although it appears unlikely, it is possible for the queue to be intermittently empty while the putters and getters are running. The assert can be removed or coded differently.
Attachments
Attachments
Issue Links
- is related to
-
HADOOP-10473 TestCallQueueManager is still flaky
- Closed