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 5A22F200B33 for ; Wed, 29 Jun 2016 23:30:13 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 58E6C160A3C; Wed, 29 Jun 2016 21:30:13 +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 86730160A6E for ; Wed, 29 Jun 2016 23:30:12 +0200 (CEST) Received: (qmail 35851 invoked by uid 500); 29 Jun 2016 21:30:11 -0000 Mailing-List: contact dev-help@reef.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@reef.apache.org Delivered-To: mailing list dev@reef.apache.org Received: (qmail 35726 invoked by uid 99); 29 Jun 2016 21:30:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Jun 2016 21:30:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id EB1C22C02A2 for ; Wed, 29 Jun 2016 21:30:10 +0000 (UTC) Date: Wed, 29 Jun 2016 21:30:10 +0000 (UTC) From: "Andrew Chung (JIRA)" To: dev@reef.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Reopened] (REEF-1476) Fix race condition in TestTwoSuccessiveTasksOnSameContext MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 29 Jun 2016 21:30:13 -0000 [ https://issues.apache.org/jira/browse/REEF-1476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Chung reopened REEF-1476: -------------------------------- > Fix race condition in TestTwoSuccessiveTasksOnSameContext > --------------------------------------------------------- > > Key: REEF-1476 > URL: https://issues.apache.org/jira/browse/REEF-1476 > Project: REEF > Issue Type: Bug > Components: REEF-Tests, REEF.NET > Reporter: Andrew Chung > Assignee: Andrew Chung > > Currently, {{TestTwoSuccessiveTasksOnSameContext}} faces a race condition. Although we wait for the Task's Stop handler to be triggered before checking that the task status is reset, we do not wait for the thread to actually finish. Instead, we should join on the task thread first before asserting that the Task is no longer present. -- This message was sent by Atlassian JIRA (v6.3.4#6332)