hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arpit Agarwal (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-10395) TestCallQueueManager is flaky
Date Sat, 08 Mar 2014 16:52:43 GMT
Arpit Agarwal created HADOOP-10395:

             Summary: TestCallQueueManager is flaky
                 Key: HADOOP-10395
                 URL: https://issues.apache.org/jira/browse/HADOOP-10395
             Project: Hadoop Common
          Issue Type: Bug
          Components: test
    Affects Versions: 2.4.0
            Reporter: Arpit Agarwal

{{TestCallQueueManager#testSwapUnderContention}} fails occasionally on a test VM with this
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)

I think the issue is that the assert is probabilistic and although extremely unlikely it is
possible for the queue to be intermittently empty while the putters and getters are running.

This message was sent by Atlassian JIRA

View raw message