first commit for new repo
[sdc/sdc-titan-cassandra.git] / src / test / java / com / thinkaurelius / titan / graphdb / embedded / EmbeddedGraphConcurrentTest.java
1 package com.thinkaurelius.titan.graphdb.embedded;
2
3 import org.junit.BeforeClass;
4 import org.junit.experimental.categories.Category;
5
6 import com.thinkaurelius.titan.CassandraStorageSetup;
7 import com.thinkaurelius.titan.diskstorage.configuration.WriteConfiguration;
8 import com.thinkaurelius.titan.graphdb.TitanGraphConcurrentTest;
9 import com.thinkaurelius.titan.testcategory.PerformanceTests;
10
11 /**
12  * @author Matthias Broecheler (me@matthiasb.com)
13  */
14
15 @Category({PerformanceTests.class})
16 public class EmbeddedGraphConcurrentTest extends TitanGraphConcurrentTest {
17
18     @BeforeClass
19     public static void startCassandra() {
20         CassandraStorageSetup.startCleanEmbedded();
21     }
22
23     @Override
24     public WriteConfiguration getConfiguration() {
25         return CassandraStorageSetup.getEmbeddedCassandraPartitionGraphConfiguration(getClass().getSimpleName());
26     }
27
28 }