Can I set the thread pool size for SpringJUnit4ClassRunner
I'm using SpringJUnit4ClassRunner and each test case in a class appears to create a new thread. Is it possible to limit the size of the thread pool available to the runner?
This is not purpose of this class. You can configure parallelism of your tests either in your IDE or rather in maven surefire plugin: https://maven.apache.org/surefire/maven-surefire-plugin/examples/fork-options-and-parallel-execution.html