]
Dan Berindei updated ISPN-7598:
-------------------------------
Status: Open (was: New)
LocalDistributedExecutorTest 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 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.