[ https://issues.apache.org/jira/browse/CAMEL-4042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13043397#comment-13043397 ]
Claus Ibsen commented on CAMEL-4042: ------------------------------------ Could it be Maven surefire plugin? I would assume it forked a new JVM when it runs a test suite for a new component. Eg camel-core runs in JVM A, camel-spring in JVM B etc. And thus when a JVM terminates it cleanup all its threads and resources etc. > Shutdown the thread pool when the test is over > ---------------------------------------------- > > Key: CAMEL-4042 > URL: https://issues.apache.org/jira/browse/CAMEL-4042 > Project: Camel > Issue Type: Improvement > Components: tests > Reporter: Willem Jiang > Assignee: Willem Jiang > Fix For: 2.8.0 > > > The thread size will keep increasing when we run the tests of camel. > After digging the code for a while I found there are lots of thread pool are > never shutdown when the test is over. > We should release these resources after running test. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira