use of org.apache.geode.cache.Cache in project geode by apache.
the class OrderByPartitionedDUnitTest method testOrderedResultsPartitionedRegion_Bug43514_1.
@Test
public void testOrderedResultsPartitionedRegion_Bug43514_1() throws Exception {
Host host = Host.getHost(0);
final VM vm0 = host.getVM(0);
final VM vm1 = host.getVM(1);
final VM vm2 = host.getVM(2);
final VM vm3 = host.getVM(3);
Cache cache = this.getCache();
OrderByPartitionedJUnitTest test = createTestInstance();
test.testOrderedResultsPartitionedRegion_Bug43514_1();
this.closeCache(vm0, vm1, vm2, vm3);
}
use of org.apache.geode.cache.Cache in project geode by apache.
the class GroupByDUnitImpl method testAggregateFuncCountDistinctStar_1.
@Override
@Test
public void testAggregateFuncCountDistinctStar_1() throws Exception {
Host host = Host.getHost(0);
final VM vm0 = host.getVM(0);
final VM vm1 = host.getVM(1);
final VM vm2 = host.getVM(2);
final VM vm3 = host.getVM(3);
Cache cache = this.getCache();
GroupByTestInterface test = createTestInstance();
test.testAggregateFuncCountDistinctStar_1();
this.closeCache(vm0, vm1, vm2, vm3);
}
use of org.apache.geode.cache.Cache in project geode by apache.
the class GroupByDUnitImpl method testAggregateFuncSumDistinct.
@Override
@Test
public void testAggregateFuncSumDistinct() throws Exception {
Host host = Host.getHost(0);
final VM vm0 = host.getVM(0);
final VM vm1 = host.getVM(1);
final VM vm2 = host.getVM(2);
final VM vm3 = host.getVM(3);
Cache cache = this.getCache();
GroupByTestInterface test = createTestInstance();
test.testAggregateFuncSumDistinct();
this.closeCache(vm0, vm1, vm2, vm3);
}
use of org.apache.geode.cache.Cache in project geode by apache.
the class GroupByDUnitImpl method testSumWithMultiColumnGroupBy.
@Override
@Test
public void testSumWithMultiColumnGroupBy() throws Exception {
Host host = Host.getHost(0);
final VM vm0 = host.getVM(0);
final VM vm1 = host.getVM(1);
final VM vm2 = host.getVM(2);
final VM vm3 = host.getVM(3);
Cache cache = this.getCache();
GroupByTestInterface test = createTestInstance();
test.testSumWithMultiColumnGroupBy();
this.closeCache(vm0, vm1, vm2, vm3);
}
use of org.apache.geode.cache.Cache in project geode by apache.
the class GroupByDUnitImpl method testConvertibleGroupByQuery_1.
@Override
@Test
public void testConvertibleGroupByQuery_1() throws Exception {
Host host = Host.getHost(0);
final VM vm0 = host.getVM(0);
final VM vm1 = host.getVM(1);
final VM vm2 = host.getVM(2);
final VM vm3 = host.getVM(3);
Cache cache = this.getCache();
GroupByTestInterface test = createTestInstance();
test.testConvertibleGroupByQuery_1();
this.closeCache(vm0, vm1, vm2, vm3);
}
Aggregations