You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Artem Shutak (JIRA)" <ji...@apache.org> on 2015/10/28 15:32:27 UTC
[jira] [Created] (IGNITE-1802) Ignite.countDownLatch() can return
null if latch has been already created.
Artem Shutak created IGNITE-1802:
------------------------------------
Summary: 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
Priority: Blocker
Fix For: 1.5
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)