zentol commented on a change in pull request #13551: URL: https://github.com/apache/flink/pull/13551#discussion_r557279916
########## File path: flink-test-utils-parent/flink-test-utils/src/main/java/org/apache/flink/streaming/util/TestStreamEnvironment.java ########## @@ -69,13 +74,28 @@ public static void setAsContext( TestStreamEnvironment env = new TestStreamEnvironment( miniCluster, parallelism, jarFiles, classpaths); + randomize(conf); env.configure(conf, env.getUserClassloader()); return env; }; initializeContextEnvironment(factory); } + /** + * Randomizes configuration on test case level even if mini cluster is used in a class rule. + * + * @param conf + */ + private static void randomize(Configuration conf) { + if (Randomization) { + final String testName = TestNameProvider.getCurrentTestName(); Review comment: yeah I'd revisit it once junit5 is in. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org