reef-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Chung (JIRA)" <j...@apache.org>
Subject [jira] [Reopened] (REEF-1476) Fix race condition in TestTwoSuccessiveTasksOnSameContext
Date Wed, 29 Jun 2016 21:30:10 GMT

     [ 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)

Mime
View raw message