Search in sources :

Example 1 with ResultPartitionState

use of org.apache.flink.runtime.scheduler.strategy.ResultPartitionState in project flink by apache.

the class DefaultResultPartitionTest method testGetPartitionState.

@Test
public void testGetPartitionState() {
    for (ResultPartitionState state : ResultPartitionState.values()) {
        resultPartitionState.setResultPartitionState(state);
        assertEquals(state, resultPartition.getState());
    }
}
Also used : ResultPartitionState(org.apache.flink.runtime.scheduler.strategy.ResultPartitionState) Test(org.junit.Test)

Aggregations

ResultPartitionState (org.apache.flink.runtime.scheduler.strategy.ResultPartitionState)1 Test (org.junit.Test)1