@Test(expected = IllegalStateException.class)
public void testRunningWithEndTime() {

  RepairRun.builder("test", UUID.randomUUID())
                                 .repairParallelism(RepairParallelism.DATACENTER_AWARE)
                                 .tables(TABLES)
                                 .intensity(1.0)
                                 .segmentCount(10)
                                 .runState(RunState.RUNNING)
                                 .startTime(DateTime.now())
                                 .endTime(DateTime.now())
                                 .build(UUID.randomUUID());
}