Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-5893

Maven forkCount property is too aggressive causing builds to fail on some machines.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.12.0
    • 1.12.0
    • None

    Description

      In DRILL-5752 I changed the forkCount parameter from "2" to "1C". This changed the number of test process spawned from 2 test processes to 1 test process per core on the machine. This worked fine on dev laptops and jenkins servers, but large build machines (32 cores) can get slowed down by all the test processes resulting in tests timing out. Also spawning so many test processes can also aggravate the issue described in DRILL-5890.

      For this jira I will revert the default for forkCount back to "2"

      For documentation
      https://drill.apache.org/docs/apache-drill-contribution-guidelines/
      For these line Contributions should pass existing unit tests. we may add that developer should have successful build using mvn clean install, to speed up unit tests mvn clean install -DforkCount=1C can be used.

      Attachments

        Issue Links

          Activity

            People

              timothyfarkas Timothy Farkas
              timothyfarkas Timothy Farkas
              Arina Ielchiieva Arina Ielchiieva
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: