GitHub user pnowojski opened a pull request:
https://github.com/apache/flink/pull/5193
[FLINK-8268][tests] Improve tests stability
This is a walk-around an error reported in the issue:
https://issues.apache.org/jira/browse/FLINK-8268 . Instead of writing files to
disk, this PR creates a simple in memory "file like" abstraction.
Second commit is to further improve stability by cleaning up the resources
from `MockEnvironment`.
## Verifying this change
This is change in tests.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/pnowojski/flink f8268
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/5193.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 #5193
----
commit 129382c7d3a0d87afd8163e57a48f21819e4134c
Author: Piotr Nowojski <piotr.nowojski@...>
Date: 2017-12-20T10:23:26Z
[FLINK-8268][streaming][tests] Improve TwoPhaseCommitSinkFunctionTest
stability by using custom in memory storage
commit 55d0f4b197a062801c0763b7aeaf5d0bc64eac77
Author: Piotr Nowojski <piotr.nowojski@...>
Date: 2017-12-20T11:27:56Z
[hotfix][tests] Properly shutdown MockEnvironment to release resources
----
---