Github user zentol commented on a diff in the pull request:

    https://github.com/apache/flink/pull/1583#discussion_r52912601
  
    --- Diff: 
flink-streaming-java/src/test/java/org/apache/flink/streaming/api/graph/StreamingJobGraphGeneratorTest.java
 ---
    @@ -75,16 +75,22 @@ public void testExecutionConfigSerialization() throws 
IOException, ClassNotFound
                        config.disableSysoutLogging();
                }
                config.setParallelism(dop);
    -           
    +
                JobGraph jobGraph = compiler.createJobGraph("test");
    -           
    +
    +           final String exec_config_key = "runtime.config";
    +
    +           
InstantiationUtil.writeObjectToConfig(jobGraph.getExecutionConfig(),
    +                   jobGraph.getJobConfiguration(),
    +                   exec_config_key);
    +
                ExecutionConfig executionConfig = 
InstantiationUtil.readObjectFromConfig(
                                jobGraph.getJobConfiguration(),
    -                           ExecutionConfig.CONFIG_KEY,
    +                           exec_config_key,
                                Thread.currentThread().getContextClassLoader());
    -           
    +
                assertNotNull(executionConfig);
    -           
    --- End diff --
    
    this class contains a relatively high number of pure formatting changes.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to