@Test public void assertReconcileConfiguration() { FrameworkConfiguration configuration = bootstrapEnvironment.getFrameworkConfiguration(); assertThat(configuration.getReconcileIntervalMinutes(), is(-1)); assertFalse(configuration.isEnabledReconcile()); Properties properties = new Properties(); properties.setProperty(BootstrapEnvironment.EnvironmentArgument.RECONCILE_INTERVAL_MINUTES.getKey(), "0"); ReflectionUtils.setFieldValue(bootstrapEnvironment, "properties", properties); configuration = bootstrapEnvironment.getFrameworkConfiguration(); assertThat(configuration.getReconcileIntervalMinutes(), is(0)); assertFalse(configuration.isEnabledReconcile()); }
public FrameworkConfiguration getFrameworkConfiguration() { return new FrameworkConfiguration(Integer.parseInt(getValue(EnvironmentArgument.JOB_STATE_QUEUE_SIZE)), Integer.parseInt(getValue(EnvironmentArgument.RECONCILE_INTERVAL_MINUTES))); }
BootstrapEnvironment { public FrameworkConfiguration getFrameworkConfiguration() { return new FrameworkConfiguration(Integer.parseInt(getValue(EnvironmentArgument.JOB_STATE_QUEUE_SIZE)), Integer.parseInt(getValue(EnvironmentArgument.RECONCILE_INTERVAL_MINUTES))); } }
BootstrapEnvironment { public FrameworkConfiguration getFrameworkConfiguration() { return new FrameworkConfiguration(Integer.parseInt(getValue(EnvironmentArgument.JOB_STATE_QUEUE_SIZE)), Integer.parseInt(getValue(EnvironmentArgument.RECONCILE_INTERVAL_MINUTES))); } private  BootstrapEnvironment(); }
BootstrapEnvironment { public FrameworkConfiguration getFrameworkConfiguration() { return new FrameworkConfiguration(Integer.parseInt(getValue(EnvironmentArgument.JOB_STATE_QUEUE_SIZE)), Integer.parseInt(getValue(EnvironmentArgument.RECONCILE_INTERVAL_MINUTES))); } private  BootstrapEnvironment(); String getFrameworkHostPort(); MesosConfiguration getMesosConfiguration(); ZookeeperConfiguration getZookeeperConfiguration(); RestfulServerConfiguration getRestfulServerConfiguration(); FrameworkConfiguration getFrameworkConfiguration(); Optional<TracingConfiguration> getTracingConfiguration(); HashMap<String, String> getJobEventRdbConfigurationMap(); Optional<String> getMesosRole(); }
BootstrapEnvironment { public FrameworkConfiguration getFrameworkConfiguration() { return new FrameworkConfiguration(Integer.parseInt(getValue(EnvironmentArgument.JOB_STATE_QUEUE_SIZE)), Integer.parseInt(getValue(EnvironmentArgument.RECONCILE_INTERVAL_MINUTES))); } private  BootstrapEnvironment(); String getFrameworkHostPort(); MesosConfiguration getMesosConfiguration(); ZookeeperConfiguration getZookeeperConfiguration(); RestfulServerConfiguration getRestfulServerConfiguration(); FrameworkConfiguration getFrameworkConfiguration(); Optional<TracingConfiguration> getTracingConfiguration(); HashMap<String, String> getJobEventRdbConfigurationMap(); Optional<String> getMesosRole();  }