private LockRequest getLockRequest() {
    LockComponent comp = new LockComponentBuilder()
        .setDbName("default")
        .setTableName("ceat")
        .setOperationType(DataOperationType.UPDATE)
        .setSharedWrite()
        .build();
    return new LockRequest(singletonList(comp), "me", "localhost");
  }
Testing whether AcidTxnCleanerService removes the correct records
from the TXNS table (via TxnStore).
standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/txn/TestAcidTxnCleanerService.java