use of org.apache.gora.infinispan.GoraInfinispanTestDriver in project gora by apache.
the class InfinispanStoreTest method setUpClass.
@BeforeClass
public static void setUpClass() throws Exception {
List<String> cacheNames = new ArrayList<>();
cacheNames.add(Employee.class.getSimpleName());
cacheNames.add(WebPage.class.getSimpleName());
setTestDriver(new GoraInfinispanTestDriver(1, cacheNames));
DataStoreTestBase.setUpClass();
}
use of org.apache.gora.infinispan.GoraInfinispanTestDriver in project gora by apache.
the class InfinispanStoreTest method setUp.
@Before
public void setUp() throws Exception {
GoraInfinispanTestDriver driver = getTestDriver();
conf = driver.getConfiguration();
conf.set(ISPN_CONNECTION_STRING_KEY, getTestDriver().connectionString());
super.setUp();
employeeDataStore = (InfinispanStore<String, Employee>) employeeStore;
webPageDataStore = (InfinispanStore<String, WebPage>) webPageStore;
}
Aggregations