TisonKun commented on a change in pull request #8175: [FLINK-9787]Change
ExecutionConfig#getGlobalJobParameters to return a…
URL: https://github.com/apache/flink/pull/8175#discussion_r316794339
##########
File path:
flink-core/src/test/java/org/apache/flink/api/common/ExecutionConfigTest.java
##########
@@ -159,4 +160,21 @@ public void testExecutionConfigSerialization() throws
IOException, ClassNotFound
assertEquals(sysoutLoggingEnabled,
copy1.isSysoutLoggingEnabled());
assertEquals(parallelism, copy1.getParallelism());
}
+
+ @Test
+ public void testGlobalParameters() {
+ final ExecutionConfig config = new ExecutionConfig();
+
Review comment:
nit: maybe we get `GlobalJobParameters empty =
config.getGlobalJobParameters()` first and then do the assertion.
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services