X-czh commented on code in PR #25877: URL: https://github.com/apache/flink/pull/25877#discussion_r1901478779
########## flink-yarn/src/test/java/org/apache/flink/yarn/UtilsTest.java: ########## @@ -56,6 +59,19 @@ class UtilsTest { private static final String YARN_RM_ARBITRARY_SCHEDULER_CLAZZ = "org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler"; + private static final TaskExecutorProcessSpec TASK_EXECUTOR_PROCESS_SPEC = Review Comment: I noticed that the same local variable was constructed three times in this test file, so it might be a good idea to extract it as a common instance variable. WDYT? -- 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. To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org