You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Peter Bacsko (JIRA)" <ji...@apache.org> on 2018/09/21 13:40:00 UTC

[jira] [Updated] (OOZIE-3351) Flaky test TestMemoryLocks#testWriteLockSameThreadNoWait()

     [ https://issues.apache.org/jira/browse/OOZIE-3351?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Bacsko updated OOZIE-3351:
--------------------------------
    Attachment: OOZIE-3351-001.patch

> Flaky test TestMemoryLocks#testWriteLockSameThreadNoWait()
> ----------------------------------------------------------
>
>                 Key: OOZIE-3351
>                 URL: https://issues.apache.org/jira/browse/OOZIE-3351
>             Project: Oozie
>          Issue Type: Sub-task
>    Affects Versions: 5.0.0
>            Reporter: Andras Piros
>            Priority: Major
>         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)