Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id A0D0D200B35 for ; Tue, 5 Jul 2016 17:16:12 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 9F95F160A6F; Tue, 5 Jul 2016 15:16:12 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id F1B14160A2C for ; Tue, 5 Jul 2016 17:16:11 +0200 (CEST) Received: (qmail 43341 invoked by uid 500); 5 Jul 2016 15:16:11 -0000 Mailing-List: contact issues-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list issues@ignite.apache.org Received: (qmail 43328 invoked by uid 99); 5 Jul 2016 15:16:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jul 2016 15:16:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 03E322C02A4 for ; Tue, 5 Jul 2016 15:16:11 +0000 (UTC) Date: Tue, 5 Jul 2016 15:16:11 +0000 (UTC) From: "Denis Magda (JIRA)" To: issues@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (IGNITE-1802) Ignite.countDownLatch() can return null if latch has been already created. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 05 Jul 2016 15:16:12 -0000 [ https://issues.apache.org/jira/browse/IGNITE-1802?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Denis Magda resolved IGNITE-1802. --------------------------------- Resolution: Fixed No longer reproduced after the latest modifications done as a part of other tickets. Closing this one. > 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)