title: running maven integration tests in multi process single threaded mode
body: <p>I would like to run my integration tests in parallel so that:
  * each test method is run by a different jvm
  * and each uses a single thread</p>
  
  <p>After reading <a href="https://maven.apache.org/surefire/maven-surefire-plugin/examples/fork-options-and-parallel-execution.html" rel="nofollow" title="the surefire docs">the surefire docs</a> I thought of using:</p>
  
  <pre><code>mvn test -DforkCount=2 -DreuseForks=false -Dparallel=methods -DthreadCount=1
  </code></pre>
  
  <p>but my tests appear to fail (of course, running just <code>mvn test</code> that runs them sequentially doesn't fail)</p>
  
  <p>Any idea how I can achieve multi process single threaded?</p>