Search in sources :

Example 1 with SimpleTransactionService

use of com.palantir.atlasdb.transaction.service.SimpleTransactionService in project atlasdb by palantir.

the class ScrubberTest method before.

@Before
public void before() {
    kvs = new InMemoryKeyValueService(false, MoreExecutors.newDirectExecutorService());
    kvs.createTable(TransactionConstants.TRANSACTION_TABLE, new byte[] {});
    transactions = new SimpleTransactionService(kvs);
    scrubStore = KeyValueServiceScrubberStore.create(kvs);
    scrubber = getScrubber(kvs, scrubStore, transactions);
}
Also used : InMemoryKeyValueService(com.palantir.atlasdb.keyvalue.impl.InMemoryKeyValueService) SimpleTransactionService(com.palantir.atlasdb.transaction.service.SimpleTransactionService) Before(org.junit.Before)

Aggregations

InMemoryKeyValueService (com.palantir.atlasdb.keyvalue.impl.InMemoryKeyValueService)1 SimpleTransactionService (com.palantir.atlasdb.transaction.service.SimpleTransactionService)1 Before (org.junit.Before)1