assertScriptPredicateOnPhase(dryRun, "bootstrap", containsPattern("install_openjdk"));
}
@Test
public void testJavaInstalledFalse() throws Exception {
DryRun dryRun = launchWithClusterSpec(newClusterSpecForProperties(ImmutableMap.of("whirr.instance-templates", "1 "
+ KerberosServerHandler.ROLE + "+" + KerberosClientHandler.ROLE, "whirr.env.jdk_installed", "false")));
assertScriptPredicateOnPhase(dryRun, "bootstrap", bootstrapPredicate());
assertScriptPredicateOnPhase(dryRun, "bootstrap", containsPattern("install_openjdk"));
}