GitHub user zentol opened a pull request:
https://github.com/apache/flink/pull/5535
[FLINK-8703][tests] Migrate tests from LocalFlinkMiniCluster to
MiniClusterResource
## What is the purpose of the change
This PR contains the first batch of test ports from `LocalFlinkMiniCluster`
to `MiniClusterResource`. No port required changes to `MiniClusterResource`.
Each test has it's own commit. If a test was not explicitly creating a
configuration and the number of taskmanagers/slots matched the settings in
`AbstractTestBase` the test was modified to extend that.
Otherwise, a separate `MiniClusterResource` `@ClassRule` was created.
## Verifying this change
This change is covered by existing tests.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/zentol/flink 8703
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/5535.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 #5535
----
commit 2b4168c932304d0a855d330cfe902b361cf7b174
Author: zentol <chesnay@...>
Date: 2018-02-20T12:41:45Z
[FLINK-8703][tests] Port CollectITCase to AbstractTestBase
commit f00f69ca1eb347d4d235cb24bb1d49656548cc98
Author: zentol <chesnay@...>
Date: 2018-02-20T12:42:01Z
[FLINK-8703][tests] Port MiscellaneuousIssuesITCase to AbstractTestBase
commit e6b8751b982e3b80c74b7e93ef26e60cd9059b37
Author: zentol <chesnay@...>
Date: 2018-02-20T12:43:01Z
[FLINK-8703][tests] Port StreamFaultToleranceTestBase to MiniClusterResource
commit a2163be631695f78da7f40cebae1c62a3016fe17
Author: zentol <chesnay@...>
Date: 2018-02-20T12:43:17Z
[FLINK-8703][tests] Port KeyedStateCheckpointITCase to MiniClusterResource
commit f85d9577df4002e98c34606984ee69573a78a6f7
Author: zentol <chesnay@...>
Date: 2018-02-20T12:43:34Z
[FLINK-8703][tests] Port AccumulatorErrorITCase to AbstractTestBase
commit 06dfdb7c75298c1b501599a25e7fdae93de92c5f
Author: zentol <chesnay@...>
Date: 2018-02-20T12:46:10Z
[FLINK-8703][tests] Port FastFailuresITCase to MiniClusterResource
commit 12e29e0fec70824415216ee738853d45b204fc03
Author: zentol <chesnay@...>
Date: 2018-02-20T12:58:40Z
[FLINK-8703][tests] Port SimpleRecoveryITCaseBase to MiniClusterResource
----
---