@Before
public void setup() {
InetSocketAddress dummyAddr = new InetSocketAddress("localhost", 12345);
this.dataStats = new DataStatistics();
this.withStatsCompiler = new PactCompiler(this.dataStats, new DefaultCostEstimator(), dummyAddr);
this.withStatsCompiler.setDefaultDegreeOfParallelism(DEFAULT_PARALLELISM);
this.noStatsCompiler = new PactCompiler(null, new DefaultCostEstimator(), dummyAddr);
this.noStatsCompiler.setDefaultDegreeOfParallelism(DEFAULT_PARALLELISM);
// create the instance type description
InstanceType iType = InstanceTypeFactory.construct("standard", 6, 2, 4096, 100, 0);
HardwareDescription hDesc = HardwareDescriptionFactory.construct(2, 4096 * 1024 * 1024, 2000 * 1024 * 1024);