Parallel executing test classes (maxParallelForks)

I am trying to improve speed up my CI process by using maxParallelForks onto my tests.

However there are dependence in single test class, which parallel calling test methods will cause issues on duplicating initialise static context. (More details, JUnit TestCase have setup() method attempting to setup a static, while another method in same TestClass parallel calling setup() will cause issues.)

Is there a way to configure in the way, such that parallel happen on each TestClasses? instead of each test methods?

I believe the parallel tests are run in separate JVMs, so their static state should not impact each other.