]
Tristan Tarrant updated ISPN-7598:
----------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 9.1.0.Alpha1
Resolution: Done
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.1.0.Final, 9.1.0.Alpha1
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.