@Test
public void testSanity()
throws InterruptedException
{
ConnectorPartitionResult partitionResult = raptorSplitManager.getPartitions(tableHandle, TupleDomain.<ConnectorColumnHandle>all());
assertEquals(partitionResult.getPartitions().size(), 2);
assertTrue(partitionResult.getUndeterminedTupleDomain().isAll());
List<ConnectorPartition> partitions = partitionResult.getPartitions();
TupleDomain<ConnectorColumnHandle> columnUnionedTupleDomain = TupleDomain.columnWiseUnion(partitions.get(0).getTupleDomain(), partitions.get(1).getTupleDomain());
assertEquals(columnUnionedTupleDomain, TupleDomain.withColumnDomains(ImmutableMap.of(dsColumnHandle, Domain.create(SortedRangeSet.of(Range.equal(utf8Slice("1")), Range.equal(utf8Slice("2"))), false))));
ConnectorSplitSource splitSource = raptorSplitManager.getPartitionSplits(tableHandle, partitions);
int splitCount = 0;