clusterSpec = ClusterSpec.withTemporaryKeys();
cluster = newCluster(1);
}
private Cluster newCluster(int numberOfWorkers) {
DnsResolver fakeDnsResolver = new FakeDnsResolver();
NodeMetadata node = mock(NodeMetadata.class);
List<Processor> processors = ImmutableList.of(new Processor(4, 1.0));
Hardware hardware = new HardwareImpl(null, null, "id", null, null,
ImmutableMap.<String,String>of(), ImmutableSet.<String>of(), processors,