czy006 commented on code in PR #21012:
URL: https://github.com/apache/flink/pull/21012#discussion_r1012593836
##########
flink-runtime-web/src/test/java/org/apache/flink/runtime/webmonitor/handlers/JarHandlerParameterTest.java:
##########
@@ -69,6 +71,11 @@ enum ProgramArgsParType {
static final String[] PROG_ARGS = new String[] {"--host", "localhost",
"--port", "1234"};
static final int PARALLELISM = 4;
+ static final Map<String, String> FLINK_CONFIGURATION =
+ ImmutableMap.of(
+ CoreOptions.DEFAULT_PARALLELISM.key(), "2",
Review Comment:
I found that this part cannot directly test only the parallelism part,
because when we run JarRunHandler in the code, the above value will still
appear in flinkconfig, so I overwrite the value of this part during unit
testing, which is why I re- add the
`JarHandlerParameterTest.testJarRequestBodyConfigEqToHandlerParameters` method
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]