Github user tillrohrmann commented on a diff in the pull request: https://github.com/apache/flink/pull/5780#discussion_r181467950 --- Diff: flink-test-utils-parent/flink-test-utils/src/main/java/org/apache/flink/test/util/MiniClusterResource.java --- @@ -117,6 +138,7 @@ public TestEnvironment getTestEnvironment() { @Override public void before() throws Exception { + miniClusterResourceConfiguration = Preconditions.checkNotNull(miniClusterResourceConfigurationSupplier.get()); --- End diff -- The same applies to rule chains. An easy solution would be to create a `MiniClusterWithTemporaryFolderResource` which encapsulates this logic.
---