reef-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mariia Mykhailova (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (REEF-1476) Fix race condition in TestTwoSuccessiveTasksOnSameContext
Date Wed, 29 Jun 2016 17:46:17 GMT

     [ https://issues.apache.org/jira/browse/REEF-1476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mariia Mykhailova resolved REEF-1476.
-------------------------------------
       Resolution: Fixed
    Fix Version/s: 0.16

Resolved via [PR 1060|https://github.com/apache/reef/pull/1060]

> 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
>             Fix For: 0.16
>
>
> 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)

Mime
View raw message