use of com.yahoo.vespa.config.content.FleetcontrollerConfig in project vespa by vespa-engine.
the class StorageModelTestCase method testIndexGreaterThanNumNodes.
@Test
public void testIndexGreaterThanNumNodes() throws Exception {
VespaModel vespaModel = createModel("src/test/cfg/storage/app_index_higher_than_num_nodes");
// Test fleet controller config
FleetcontrollerConfig fleetController1Config = new FleetcontrollerConfig((FleetcontrollerConfig.Builder) vespaModel.getConfig(new FleetcontrollerConfig.Builder(), "content/fleetcontroller"));
assertEquals(60000, fleetController1Config.storage_transition_time());
assertEquals(8, fleetController1Config.ideal_distribution_bits());
}
Aggregations