use of com.alibaba.otter.shared.arbitrate.model.SyncStatusEventData.SyncStatus in project otter by alibaba.
the class ToolArbitrateEventTest method test_simple.
@Test
public void test_simple() {
toolEvent = new ToolArbitrateEvent();
SyncStatusEventData eventData = toolEvent.fetch(pipelineId);
eventData.setPipelineId(pipelineId);
eventData.addStatus(new SyncStatus(false, 1000));
eventData.addStatus(new SyncStatus(true, 1001));
toolEvent.single(eventData);
eventData = toolEvent.fetch(pipelineId);
want.object(eventData).notNull();
}
Aggregations