Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-7597

Increase speed of mvn tests

    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.7.0
    • None
    • infra
    • None

    Description

      mvn tests can take up to 20-25 mins to run

      We should consider updating Maven, and perhaps,

      compile -T # (to use multiple threads)
      These will fork the junit tests into a new process and gives the tests a little more memory.
      -Dmaven.junit.fork=true
      -Dmaven.junit.jvmargs=-Xmx512m

      This forks the compilation to hopefully make it faster
      -Dmaven.compile.fork=true

      Attachments

        Activity

          People

            afernandez Alejandro Fernandez
            afernandez Alejandro Fernandez
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: