Peter Bacsko created OOZIE-3289:
-----------------------------------
Summary: Test TestJMSAccessorService#testConnectionRetry is still
flaky
Key: OOZIE-3289
URL: https://issues.apache.org/jira/browse/OOZIE-3289
Project: Oozie
Issue Type: Sub-task
Reporter: Peter Bacsko
TestJMSAccessorService#testConnectionRetry can still fail with the following
error:
{noformat}
testConnectionRetry(org.apache.oozie.service.TestJMSAccessorService) Time
elapsed: 2.26 s <<< FAILURE!
junit.framework.AssertionFailedError
at junit.framework.Assert.fail(Assert.java:55)
at junit.framework.Assert.assertTrue(Assert.java:22)
at junit.framework.Assert.assertFalse(Assert.java:39)
at junit.framework.Assert.assertFalse(Assert.java:47)
at junit.framework.TestCase.assertFalse(TestCase.java:219)
at
org.apache.oozie.service.TestJMSAccessorService.testConnectionRetry(TestJMSAccessorService.java:168)
{noformat}
Root cause: changes in {{connectionMap}} / {{receiversMap}} /
{{retryConnectionsMap}} are not atomic. Could be that one map has been updated
but another has not.
Other tests could be affected, too.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)