[
https://issues.apache.org/jira/browse/OOZIE-3351?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andras Piros updated OOZIE-3351:
--------------------------------
Fix Version/s: 5.1.0
> [tests] Flaky test TestMemoryLocks#testWriteLockSameThreadNoWait()
> ------------------------------------------------------------------
>
> Key: OOZIE-3351
> URL: https://issues.apache.org/jira/browse/OOZIE-3351
> Project: Oozie
> Issue Type: Sub-task
> Components: tests
> Affects Versions: 5.0.0
> Reporter: Andras Piros
> Assignee: Peter Bacsko
> Priority: Major
> Fix For: 5.1.0
>
> Attachments: OOZIE-3351-001.patch
>
>
> The unit test {{TestMemoryLocks#testWriteLockSameThreadNoWait()}} is flaky:
> {noformat}
> 2018-09-21 09:58:36 [INFO]
> -------------------------------------------------------
> 2018-09-21 09:58:36 [INFO] T E S T S
> 2018-09-21 09:58:36 [INFO]
> -------------------------------------------------------
> 2018-09-21 09:59:01 [INFO] Running org.apache.oozie.lock.TestMemoryLocks
> 2018-09-21 09:59:01 [ERROR] Tests run: 12, Failures: 1, Errors: 0, Skipped:
> 0, Time elapsed: 24.06 s <<< FAILURE! - in
> org.apache.oozie.lock.TestMemoryLocks
> 2018-09-21 09:59:01 [ERROR]
> testWriteLockSameThreadNoWait(org.apache.oozie.lock.TestMemoryLocks) Time
> elapsed: 0.219 s <<< FAILURE!
> 2018-09-21 09:59:01 junit.framework.ComparisonFailure: expected:<a:[1-L1
> a:1-L2 a:1-U1 a:2-N] a:1-U2> but was:<a:[2-N a:1-L1 a:1-L2 a:1-U1] a:1-U2>
> 2018-09-21 09:59:01 at junit.framework.Assert.assertEquals(Assert.java:100)
> 2018-09-21 09:59:01 at junit.framework.Assert.assertEquals(Assert.java:107)
> 2018-09-21 09:59:01 at
> junit.framework.TestCase.assertEquals(TestCase.java:269)
> 2018-09-21 09:59:01 at
> org.apache.oozie.lock.TestMemoryLocks.testWriteLockSameThreadNoWait(TestMemoryLocks.java:301)
> ...
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)