[
https://issues.apache.org/jira/browse/IGNITE-1802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15361149#comment-15361149
]
ASF GitHub Bot commented on IGNITE-1802:
----------------------------------------
GitHub user vldpyatkov opened a pull request:
https://github.com/apache/ignite/pull/849
IGNITE-1802
Ignite.countDownLatch() can return null if latch has been already created.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/vldpyatkov/ignite ignite-1802
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/ignite/pull/849.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #849
----
commit 222e9c0152b36972cea22e6049817c26c3085275
Author: vdpyatkov <[email protected]>
Date: 2016-07-04T10:33:27Z
IGNITE-1802
Ignite.countDownLatch() can return null if latch has been already created.
----
> 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)