GitHub user chiwanpark opened a pull request:
https://github.com/apache/flink/pull/2056
[FLINK-3994] [ml, tests] Fix flaky KNN integration tests
This PR is related to flaky KNN integration tests. The problem is caused by
sharing `ExecutionEnvironment` between test cases. I'm not sure about exact
reason. This PR makes each test case have own `ExecutionEnvironment`. Tests on
my local machine and my Travis-CI [1] is passed with this PR.
I have some doubt because this is not essential fix for the problem. AFAIK
and @StephanEwen said, sharing `ExecutionEnvironment` should be supported.
Addtionally, `mvn clean verify` has passed without this PR on my local machine.
If there are any other opinions, please leave comment.
[1]: https://travis-ci.org/chiwanpark/flink/builds/134104491
p.s. we need to re-write commit message.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/chiwanpark/flink hotfix-ml-test
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/2056.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2056
----
commit a47ae8481bcbac2c490386089ee6b1e740f3a1f4
Author: Chiwan Park <[email protected]>
Date: 2016-05-31T08:50:05Z
[hotfix] [ml] Fix flaky KNN integration tests
----
---
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 [email protected] or file a JIRA ticket
with INFRA.
---