You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Vladislav Pyatkov (JIRA)" <ji...@apache.org> on 2016/06/15 16:07:09 UTC

[jira] [Assigned] (IGNITE-1802) Ignite.countDownLatch() can return null if latch has been already created.

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

Vladislav Pyatkov reassigned IGNITE-1802:
-----------------------------------------

    Assignee: Vladislav Pyatkov

> Ignite.countDownLatch() can return null if latch has been already created.
> --------------------------------------------------------------------------
>
>                 Key: IGNITE-1802
>                 URL: https://issues.apache.org/jira/browse/IGNITE-1802
>             Project: Ignite
>          Issue Type: Test
>            Reporter: Artem Shutak
>            Assignee: Vladislav Pyatkov
>            Priority: Blocker
>              Labels: Muted_test
>             Fix For: 1.7
>
>
> IgnitePartitionedCountDownLatchSelfTest.testLatchMultinode1	 test fails on TC sometimes.
> According to stack trace Ignite.countDownLatch(,,,false) can return null if latch has been already created.
> Logs:
> {noformat}
> junit.framework.AssertionFailedError: null
>     at junit.framework.Assert.fail(Assert.java:55)
>     at junit.framework.Assert.assertTrue(Assert.java:22)
>     at junit.framework.Assert.assertNotNull(Assert.java:256)
>     at junit.framework.Assert.assertNotNull(Assert.java:248)
>     at junit.framework.TestCase.assertNotNull(TestCase.java:417)
>     at org.apache.ignite.internal.processors.cache.datastructures.IgniteCountDownLatchAbstractSelfTest$3.call(IgniteCountDownLatchAbstractSelfTest.java:306)
>     at org.apache.ignite.internal.processors.cache.datastructures.IgniteCountDownLatchAbstractSelfTest$3.call(IgniteCountDownLatchAbstractSelfTest.java:300)
>     at org.apache.ignite.testframework.GridTestUtils$5.run(GridTestUtils.java:671)
>     at org.apache.ignite.testframework.GridTestUtils$7.call(GridTestUtils.java:967)
>     at org.apache.ignite.testframework.GridTestThread.run(GridTestThread.java:86)
> ------- Stdout: -------
> [13:22:46,287][INFO ][main][root] >>> Starting test: testLatchMultinode1 <<<
> [13:22:46,502][INFO ][main][root] >>> Stopping test: testLatchMultinode1 in 215 ms <<<
> ------- Stderr: -------
> [13:22:46,501][ERROR][main][root] Test failed.
> junit.framework.AssertionFailedError
>     at junit.framework.Assert.fail(Assert.java:55)
>     at junit.framework.Assert.assertTrue(Assert.java:22)
>     at junit.framework.Assert.assertNotNull(Assert.java:256)
>     at junit.framework.Assert.assertNotNull(Assert.java:248)
>     at junit.framework.TestCase.assertNotNull(TestCase.java:417)
>     at org.apache.ignite.internal.processors.cache.datastructures.IgniteCountDownLatchAbstractSelfTest$3.call(IgniteCountDownLatchAbstractSelfTest.java:306)
>     at org.apache.ignite.internal.processors.cache.datastructures.IgniteCountDownLatchAbstractSelfTest$3.call(IgniteCountDownLatchAbstractSelfTest.java:300)
>     at org.apache.ignite.testframework.GridTestUtils$5.run(GridTestUtils.java:671)
>     at org.apache.ignite.testframework.GridTestUtils$7.call(GridTestUtils.java:967)
>     at org.apache.ignite.testframework.GridTestThread.run(GridTestThread.java:86)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)