Source:
<code>public void iterationWithoutReloadTest() throws IOException { String storeName = "store"; List<CompactionDetails> detailsList = getCompactionDetails(5); assertFalse("Compaction should not be in progress", CompactionLog.isCompactionInProgress(tempDirStr, storeName)); CompactionLog log = new CompactionLog(tempDirStr, storeName, time, detailsList); <START> assertTrue("Compaction should should be in progress", CompactionLog.isCompactionInProgress(tempDirStr, storeName)); <END> for (CompactionDetails details : detailsList) { verifyEquality(details, log.getCompactionDetails()); assertEquals("Should be in the PREPARE phase", CompactionLog.Phase.PREPARE, log.getCompactionPhase()); log.markCopyStart(); assertEquals("Should be in the COPY phase", CompactionLog.Phase.COPY, log.getCompactionPhase()); StoreFindToken safeToken = new StoreFindToken(new MockId("dummy"), new Offset(LogSegmentNameHelper.generateFirstSegmentName(5), 0), new UUID(1, 1)); log.setSafeToken(safeToken); assertEquals("Returned token not the same as the one that was set", safeToken, log.getSafeToken()); log.markSwitchStart(); assertEquals("Should be in the SWITCH phase", CompactionLog.Phase.SWITCH, log.getCompactionPhase()); log.markCleanupStart(); assertEquals("Should be in the CLEANUP phase", CompactionLog.Phase.CLEANUP, log.getCompactionPhase()); log.markCycleComplete(); } assertEquals("Should be in the DONE phase", CompactionLog.Phase.DONE, log.getCompactionPhase()); log.close(); assertFalse("Compaction should not be in progress", CompactionLog.isCompactionInProgress(tempDirStr, storeName)); }</code><technical_language>minor. "should be" -> "should be"</technical_language>

Target:
public void iterationWithoutReloadTest() throws IOException { String storeName = "store"; List<CompactionDetails> detailsList = getCompactionDetails(5); assertFalse("Compaction should not be in progress", CompactionLog.isCompactionInProgress(tempDirStr, storeName)); CompactionLog log = new CompactionLog(tempDirStr, storeName, time, detailsList); assertTrue("Compaction should be in progress", CompactionLog.isCompactionInProgress(tempDirStr, storeName)); for (CompactionDetails details : detailsList) { verifyEquality(details, log.getCompactionDetails()); assertEquals("Should be in the PREPARE phase", CompactionLog.Phase.PREPARE, log.getCompactionPhase()); log.markCopyStart(); assertEquals("Should be in the COPY phase", CompactionLog.Phase.COPY, log.getCompactionPhase()); StoreFindToken safeToken = new StoreFindToken(new MockId("dummy"), new Offset(LogSegmentNameHelper.generateFirstSegmentName(5), 0), new UUID(1, 1)); log.setSafeToken(safeToken); assertEquals("Returned token not the same as the one that was set", safeToken, log.getSafeToken()); log.markSwitchStart(); assertEquals("Should be in the SWITCH phase", CompactionLog.Phase.SWITCH, log.getCompactionPhase()); log.markCleanupStart(); assertEquals("Should be in the CLEANUP phase", CompactionLog.Phase.CLEANUP, log.getCompactionPhase()); log.markCycleComplete(); } assertEquals("Should be in the DONE phase", CompactionLog.Phase.DONE, log.getCompactionPhase()); log.close(); assertFalse("Compaction should not be in progress", CompactionLog.isCompactionInProgress(tempDirStr, storeName)); }