@Test
public void testCleanSecondaryLocks() throws IOException {

  // check commit secondary
  prepareCleanSecondaryLocks(true);
  lockCleaner.cleanSecondaryLocks((PrimaryLock)getLock(COLUMN), commitTs);
  checkCommitSecondariesSuccess();
  // check erase secondary lock
  deleteOldDataAndUpdateTs();
  prepareCleanSecondaryLocks(false);
  lockCleaner.cleanSecondaryLocks((PrimaryLock)getLock(COLUMN), null);
  checkSecondariesRollback();
}