[
https://issues.apache.org/jira/browse/FLINK-22287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated FLINK-22287:
-----------------------------------
Labels: pull-request-available (was: )
> Java documentation of mini cluster should mention usage of before() and
> after()
> -------------------------------------------------------------------------------
>
> Key: FLINK-22287
> URL: https://issues.apache.org/jira/browse/FLINK-22287
> Project: Flink
> Issue Type: Improvement
> Components: Documentation
> Reporter: Svend Vanderveken
> Priority: Minor
> Labels: pull-request-available
>
> The java code examples [for Mini cluster usage in unit tests in the current
> documentation|https://ci.apache.org/projects/flink/flink-docs-release-1.12/dev/stream/testing.html#junit-rule-miniclusterwithclientresource]
> do not mention that the user should call {{before()}} and {{after()}}
> methods on the mini cluster instance.
> I believe this is a mistake since omitting those calls would make, as far as
> a I understand, the creation of the mini cluster ignored.
> The scala code samples seem correct.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)