Class ExternalCompactionProgressIT

  • All Implemented Interfaces:
    ClusterUsers, MiniClusterConfigurationCallback

    public class ExternalCompactionProgressIT
    extends AccumuloClusterHarness
    Tests that external compactions report progress from start to finish. To prevent flaky test failures, we only measure progress in quarter segments: STARTED, QUARTER, HALF, THREE_QUARTERS. We can detect if the compaction finished without errors but the coordinator will never report 100% progress since it will remove the ECID upon completion. The SlowIterator is used to control the length of time it takes to complete the compaction.