Nico Kruber created FLINK-23312:
-----------------------------------

             Summary: Use -Dfast for building e2e tests on AZP
                 Key: FLINK-23312
                 URL: https://issues.apache.org/jira/browse/FLINK-23312
             Project: Flink
          Issue Type: Improvement
          Components: Test Infrastructure
    Affects Versions: 1.13.1
            Reporter: Nico Kruber
            Assignee: Nico Kruber
             Fix For: 1.14.0


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:
{code}
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
{code}

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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to