Class MockGatewayMetaState

  • All Implemented Interfaces:
    ClusterStateApplier, CoordinationState.PersistedState

    public class MockGatewayMetaState
    extends GatewayMetaState
    GatewayMetaState constructor accepts a lot of arguments. It's not always easy / convenient to construct these dependencies. This class constructor takes far fewer dependencies and constructs usable GatewayMetaState with 2 restrictions: no metadata upgrade will be performed and no cluster state updaters will be run. This is sufficient for most of the tests.