flink-instrumentation/workspace/flink-1.4.1-instrumented/flink-1.4.1/flink-runtime/src/test/java/org/apache/flink/runtime/clusterframework/ContaineredTaskManagerParametersTest.java
/**
	 * This tests that per default the off heap memory is set to -1.
	 */
This tests that per default the off heap memory is set to -1.
This tests that per default the off heap memory is set to - 1 .
@Test
	public void testOffHeapMemoryWithDefaultConfiguration() {
		Configuration conf = new Configuration();
		ContaineredTaskManagerParameters params =
			ContaineredTaskManagerParameters.create(conf, CONTAINER_MEMORY, 1);
		assertEquals(-1L, params.taskManagerDirectMemoryLimitMB());
	}
@ Test public void testOffHeapMemoryWithDefaultConfiguration ( ) { Configuration conf = new Configuration ( ) ; ContaineredTaskManagerParameters params = ContaineredTaskManagerParameters . create ( conf , CONTAINER_MEMORY , 1 ) ; assertEquals ( - 1L , params . taskManagerDirectMemoryLimitMB ( ) ) ; }
This tests that per default the off heap memory is set to -1.
This tests that per default the off heap memory is set to - 1 .