Github user BorisOsipov commented on the issue: https://github.com/apache/flink/pull/2836 @mxm I tried to use late property evaluation approach in `argLine`. Unfortunately, it doesn't work well with different profiles. In some cases it breaks test run by maven without a coverage profile. In other case it breaks run tests from IDE. Finally, I came back to the first version with `argLine` as property. I tested it with\without coverage profile. I didn't find any problems or changes in tests run. There is no problem with inheritance of Surefire configuration. I didn't change JVM memory options in `argLine` to keep the current behavior as is. I introduced `mvn.forkNumber` as a system property instead of the parameter in argLine.(this property is used to correct logging)
--- 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. ---