Search in sources :

Example 1 with StorageCluster

use of com.yahoo.vespa.model.content.storagecluster.StorageCluster in project vespa by vespa-engine.

the class GenericConfigTest method config_override_on_root_is_visible_on_storage_cluster.

@Test
public void config_override_on_root_is_visible_on_storage_cluster() throws Exception {
    StorageCluster cluster = model.getContentClusters().get("storage").getStorageNodes();
    StorMemfilepersistenceConfig config = model.getConfig(StorMemfilepersistenceConfig.class, cluster.getConfigId());
    assertThat(config.disk_full_factor(), is(0.001));
}
Also used : StorageCluster(com.yahoo.vespa.model.content.storagecluster.StorageCluster) StorMemfilepersistenceConfig(com.yahoo.vespa.config.storage.StorMemfilepersistenceConfig) Test(org.junit.Test)

Aggregations

StorMemfilepersistenceConfig (com.yahoo.vespa.config.storage.StorMemfilepersistenceConfig)1 StorageCluster (com.yahoo.vespa.model.content.storagecluster.StorageCluster)1 Test (org.junit.Test)1