// Create a fake cluster of two HStoreSites, each with two partitions
// This will allow us to test same site communication as well as cross-site communication
this.initializeCatalog(NUM_HOSTS, NUM_SITES_PER_HOST, NUM_PARTITIONS_PER_SITE);
for (int i = 0; i < NUM_SITES; i++) {
this.sites[i] = new MockHStoreSite(i, catalogContext, HStoreConf.singleton());
// We have to make our fake ExecutionSites for each Partition at this site
for (int p : this.sites[i].getLocalPartitionIds().values()) {
MockPartitionExecutor executor = new MockPartitionExecutor(p, catalogContext, p_estimator);
this.sites[i].addPartitionExecutor(p, executor);