<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p><br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 11/08/17 15:48, Alessio Soldano
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAKQecn_hJ06BnXO_hiHWPVnmZqYBrxaW5SW5yHkf_RsJrj2qqg@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div class="gmail_extra">
            <div class="gmail_quote">In theory, you have 2 ways for
              running tests in parallel on Maven. One is using -T
              command line option (that basically builds multiple
              modules at the same time), the other is configuring the
              surefire plugin for running multiple tests at the same
              time.<br>
              <div>Unfortunately, both approaches won't work with
                RESTEasy, as the testsuite has been written in the past
                with the assumption of a single test is running at a
                time. So you'd basically get a lot of failures.<br>
              </div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    Yeah, I tried that and got issues about a socket already being in
    use :(<br>
    <br>
    <blockquote
cite="mid:CAKQecn_hJ06BnXO_hiHWPVnmZqYBrxaW5SW5yHkf_RsJrj2qqg@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div class="gmail_extra">
            <div class="gmail_quote">
              <div>Allowing for a better use of CPU resources and hence
                speeding up the build is in my TODO list, but so far
                we've had to deal with more urgent tasks.<br>
              </div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    I know that feeling, I've often felt that way too. In Ceylon, back
    when our tests started taking more than one minute to run, we
    parallelised everything, fell down to about 20s at the time, on
    about 4 cores. It paid off monumentally, as we grew past thousands
    of tests that take about 20 minutes to run in sequence, and 2
    minutes in parallel.<br>
    <br>
    I know it's hard to justify spending a couple weeks fixing tests,
    and I'm not sure how you guys deal with that 10 minute test suite,
    but if you do run it every time you push (like we do in Ceylon) then
    those two weeks are going to pay off in a matter of days when you're
    suddenly not waiting for builds anymore and save on all the coffees
    you used to drink during those 10 minutes, all the way to saving you
    from the heart attacks those coffees will do to you. Paralellising
    tests saves lives, man ;)<br>
  </body>
</html>