use of org.apache.kafka.connect.runtime.AbstractStatus.State in project kafka by apache.
the class StateTrackerTest method currentState.
@Test
public void currentState() {
for (State state : State.values()) {
tracker.changeState(state, time.milliseconds());
assertEquals(state, tracker.currentState());
}
}
use of org.apache.kafka.connect.runtime.AbstractStatus.State in project apache-kafka-on-k8s by banzaicloud.
the class StateTrackerTest method currentState.
@Test
public void currentState() {
for (State state : State.values()) {
tracker.changeState(state, time.milliseconds());
assertEquals(state, tracker.currentState());
}
}