summaryrefslogtreecommitdiffstats
path: root/src/test/java/com/thinkaurelius/titan/graphdb/thrift/ThriftOperationCountingTest.java
blob: 9bae61d8bf3808ed1d2a8a67ae5ad4e1ab29a016 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package com.thinkaurelius.titan.graphdb.thrift;

import com.thinkaurelius.titan.CassandraStorageSetup;
import com.thinkaurelius.titan.diskstorage.configuration.WriteConfiguration;
import com.thinkaurelius.titan.graphdb.TitanOperationCountingTest;
import org.junit.BeforeClass;

public class ThriftOperationCountingTest extends TitanOperationCountingTest {

    @BeforeClass
    public static void beforeClass() {
        CassandraStorageSetup.startCleanEmbedded();
    }

    @Override
    public WriteConfiguration getBaseConfiguration() {
        return CassandraStorageSetup.getCassandraThriftGraphConfiguration(getClass().getSimpleName());
    }

    @Override
    public boolean storeUsesConsistentKeyLocker() {
        return true;
    }

}