xintongsong commented on a change in pull request #10397: 
[FLINK-15023][core][runtime] Remove on-heap managed memory
URL: https://github.com/apache/flink/pull/10397#discussion_r353282724
 
 

 ##########
 File path: 
flink-streaming-java/src/test/java/org/apache/flink/streaming/api/graph/StreamingJobGraphGeneratorTest.java
 ##########
 @@ -681,20 +677,16 @@ public void 
testManagedMemoryFractionForSpecifiedResourceSpec() throws Exception
 
                final StreamConfig sourceConfig = new 
StreamConfig(vertex1.getConfiguration());
                assertEquals(0.1, 
sourceConfig.getManagedMemoryFractionOnHeap(), 0.000001);
-               assertEquals(0.4, 
sourceConfig.getManagedMemoryFractionOffHeap(), 0.000001);
 
 Review comment:
   Not really. We need this change because we have change the setting up part 
of this test cases, from setting both on-heap/off-heap managed memory in 
`ResourceSpec` to managed memory only. If we do not change the validation part, 
the test case will fail.

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

Reply via email to