use of com.sequenceiq.cloudbreak.job.stackpatcher.config.StackPatchTypeConfig in project cloudbreak by hortonworks.
the class ExistingStackPatcherJobInitializerTest method emptyEnabled.
@Test
void emptyEnabled() {
StackPatchTypeConfig disabledConfig = getConfig(false);
when(config.getPatchConfigs()).thenReturn(Map.of(UNBOUND_RESTART, disabledConfig));
underTest.initJobs();
verifyNoInteractions(jobService);
}
use of com.sequenceiq.cloudbreak.job.stackpatcher.config.StackPatchTypeConfig in project cloudbreak by hortonworks.
the class ExistingStackPatcherJobInitializerTest method getConfig.
private StackPatchTypeConfig getConfig(boolean enabled) {
StackPatchTypeConfig disabledConfig = new StackPatchTypeConfig();
disabledConfig.setEnabled(enabled);
return disabledConfig;
}
Aggregations