ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladislav Pyatkov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-1802) Ignite.countDownLatch() can return null if latch has been already created.
Date Tue, 05 Jul 2016 15:06:11 GMT

    [ https://issues.apache.org/jira/browse/IGNITE-1802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15362606#comment-15362606
] 

Vladislav Pyatkov commented on IGNITE-1802:
-------------------------------------------

The issue has not reproduce never again.
I think, the task should be closed and removed the line:
{code}
fail("https://issues.apache.org/jira/browse/IGNITE-1802");
{code}

> 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)

Mime
View raw message