Github user zentol commented on the issue:

    https://github.com/apache/flink/pull/4233
  
    WIth the existing surefire configuration we also cannot do this in 2 steps, 
one for compilation and one for tests. It is not possible to only run tests 
with any maven invocation that includes a life-cycle (i.e verify), which means 
that you have to recompile some modules twice which isn't an option because 
scala compilation is so utterly horrible.
    
    You _could_ theoretically cd into each project after compilation and 
directly invoke the surefire plugin, but this doesn't work as we have 2 
executions (1 for unit tests, 1 for IT cases), and when invoking a plugin 
directly you can at most run 1 execution and it has to be named either 
"default-test" or "default-cli". This would be possible in maven 3.3.1, but we 
can't use that without messing with the shading, We could use maven 3.3.X if we 
split the repo and add a separate one for flink-dist, but that's not gonna 
happen anytime soon.
    
    We could directly invoke the surefire plugin if we merged our surefire 
executions, but then we're still left with the problem of having to keep the 
travis scripts in sync with the directory structure of the project.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to