czy006 commented on code in PR #21012: URL: https://github.com/apache/flink/pull/21012#discussion_r1006553366
########## flink-runtime-web/src/test/java/org/apache/flink/runtime/webmonitor/handlers/JarHandlerParameterTest.java: ########## @@ -211,6 +218,37 @@ void testProvideJobId() throws Exception { assertThat(jobGraph.get().getJobID()).isEqualTo(jobId); } + @Test + void testProvideFlinkConfig() throws Exception { + + REQB jarRequestBodyWithFlinkConfig = getJarRequestBodyWithFlinkConfig(FLINK_CONFIGURATION); + HandlerRequest<REQB> request = + createRequest( + getJarRequestBodyWithFlinkConfig(FLINK_CONFIGURATION), + getUnresolvedJarMessageParameters(), + getUnresolvedJarMessageParameters(), + jarWithManifest); + + handleRequest(request); + + Optional<JobGraph> jobGraph = getLastSubmittedJobGraphAndReset(); + + assertThat(jobGraph.isPresent()).isTrue(); Review Comment: Now I've added the logic of the JobPlanHandler part,not need to case it -- 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