You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Svend Vanderveken (Jira)" <ji...@apache.org> on 2021/04/15 08:43:00 UTC
[jira] [Created] (FLINK-22287) Java documentation of mini cluster
should mention usage of before() and after()
Svend Vanderveken created FLINK-22287:
-----------------------------------------
Summary: 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
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)