jiangxin369 commented on code in PR #202:
URL: https://github.com/apache/flink-ml/pull/202#discussion_r1095537903


##########
flink-ml-core/src/test/java/org/apache/flink/ml/api/GraphTest.java:
##########
@@ -49,13 +46,7 @@ public class GraphTest extends AbstractTestBase {
 
     @Before
     public void before() {
-        Configuration config = new Configuration();
-        
config.set(ExecutionCheckpointingOptions.ENABLE_CHECKPOINTS_AFTER_TASKS_FINISH, 
true);
-        env = StreamExecutionEnvironment.getExecutionEnvironment(config);
-        env.getConfig().enableObjectReuse();
-        env.setParallelism(4);
-        env.enableCheckpointing(100);
-        env.setRestartStrategy(RestartStrategies.noRestart());
+        env = org.apache.flink.ml.util.TestUtils.getExecutionEnvironment();

Review Comment:
   According to the offline discussion, we agreed to merge the `TestUtils` in 
`flink-ml-lib` to `flink-ml-core`, and make `flink-ml-lib` depends on the 
test-jar of `flink-ml-core` to reduce code duplicates.



-- 
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]

Reply via email to