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.

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.12.0
    • Fix Version/s: 1.12.0
    • Component/s: 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

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

                Dates

                • Created:
                  Updated:
                  Resolved: