assertSpotPriceIs(clusterSpec, "role1", 0.3f);
}
@Test
public void testDifferentPrices() throws Exception {
ClusterSpec clusterSpec = buildClusterSpecWith(ImmutableMap.of(
"whirr.instance-templates", "1 role1, 1 role2",
"whirr.aws-ec2-spot-price", "0.1",
"whirr.templates.role2.aws-ec2-spot-price", "0.3"
));
assertSpotPriceIs(clusterSpec, "role1", 0.1f);