zentol commented on a change in pull request #7668: [FLINK-11545] [container]
Add job-id arg to StandaloneJobClusterEntryPoint
URL: https://github.com/apache/flink/pull/7668#discussion_r255922341
##########
File path:
flink-container/src/test/java/org/apache/flink/container/entrypoint/StandaloneJobClusterConfigurationParserFactoryTest.java
##########
@@ -97,4 +103,27 @@ public void testSavepointRestoreSettingsParsing() throws
FlinkParseException {
assertThat(savepointRestoreSettings.getRestorePath(),
is(equalTo(restorePath)));
assertThat(savepointRestoreSettings.allowNonRestoredState(),
is(true));
}
+
+ @Test
+ public void testSetJobIdManually() throws FlinkParseException {
+ final JobID jobId = new JobID();
+ final String[] args = {"--configDir", "/foo/bar",
"--job-classname", "foobar", "--job-id", jobId.toString()};
Review comment:
please also test the short option version `-jid`
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services