Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-23312

Use -Dfast for building e2e tests on AZP

    XMLWordPrintableJSON

Details

    Description

      The "e2e" builder in Azure pipelines builds Flink again on top of what the "compile" builder is already doing. This unnecessary duplicates a couple of checks that are enough to execute once and can be skipped via providing -Dfast.

      On my local machine with 32GB RAM, 8 physical cores and a fast NVMe SSD, the difference is pretty big:

      time mvn clean install -Dscala-2.12 -DskipTests -pl flink-dist -am
      # -> 6:40 min
      
      time mvn clean install -Dscala-2.12 -DskipTests -Dfast -pl flink-dist -am
      # -> 5:40 min
      

      Therefore, I'm proposing to add this parameter to the "e2e" builder's compile step.

      Attachments

        Activity

          People

            nkruber Nico Kruber
            nkruber Nico Kruber
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: