[
https://issues.jboss.org/browse/ISPN-7598?page=com.atlassian.jira.plugin....
]
Dan Berindei updated ISPN-7598:
-------------------------------
Description:
Each {{LocalDistributedExecutorTest}} test method creates a new {{DefaultExecutorService}}
instance, and each instance uses a new local executor created with
{{Executors.newCachedThreadPool(...)}}. But the {{DefaultExecutorService}} is created with
{{takeExecutorOwnership = false}}, and so the local executor is not stopped on shutdown.
was:
Each test method creates a new {{DefaultExecutorService}} instance, and each instance uses
a new local executor created with {{Executors.newCachedThreadPool(...)}}. But the
{{DefaultExecutorService}} is created with {{takeExecutorOwnership = false}}, and so the
local executor is not stopped on shutdown.
Core test suite leaks threads
-----------------------------
Key: ISPN-7598
URL:
https://issues.jboss.org/browse/ISPN-7598
Project: Infinispan
Issue Type: Bug
Components: Test Suite - Core
Affects Versions: 9.0.0.CR2
Reporter: Dan Berindei
Assignee: Dan Berindei
Labels: testsuite_stability
Fix For: 9.0.0.Final
Each {{LocalDistributedExecutorTest}} test method creates a new
{{DefaultExecutorService}} instance, and each instance uses a new local executor created
with {{Executors.newCachedThreadPool(...)}}. But the {{DefaultExecutorService}} is created
with {{takeExecutorOwnership = false}}, and so the local executor is not stopped on
shutdown.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)