[jira] [Created] (FLINK-22287) Java documentation of mini cluster should mention usage of before() and after()

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-22287) Java documentation of mini cluster should mention usage of before() and after()

Shang Yuanchun (Jira)
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)