[
https://issues.apache.org/jira/browse/APEXCORE-617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15833068#comment-15833068
]
ASF GitHub Bot commented on APEXCORE-617:
-----------------------------------------
GitHub user vrozov opened a pull request:
https://github.com/apache/apex-core/pull/451
APEXCORE-617 InputNodeTest intermittently fails with
ConcurrentModificationException
@ilooner or @PramodSSImmaneni Please review
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/vrozov/apex-core APEXCORE-617
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/apex-core/pull/451.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #451
----
commit 514d58d60a2459c18efd0b82766041669a282ef8
Author: Vlad Rozov <[email protected]>
Date: 2017-01-21T17:19:59Z
APEXCORE-617 InputNodeTest intermittently fails with
ConcurrentModificationException
----
> InputNodeTest intermittently fails with ConcurrentModificationException
> -----------------------------------------------------------------------
>
> Key: APEXCORE-617
> URL: https://issues.apache.org/jira/browse/APEXCORE-617
> Project: Apache Apex Core
> Issue Type: Bug
> Reporter: Vlad Rozov
> Assignee: Vlad Rozov
> Priority: Minor
>
> InputNodeTest.emitTestHelper uses deprecated inherently unsafe Thread.stop().
> Thread.stop() does not immediately stops the thread, the JVM waits for a
> safepoint to raise ThreadDeath exception on the target thread. This leads to
> a race condition and possible ConcurrentModificationException.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)