@Test
    void config_retired_mode_is_reflected_in_generated_state() {
        ClusterFixture fixture = ClusterFixture.forFlatCluster(5)
                .markNodeAsConfigRetired(2)
                .bringEntireClusterUp();

        AnnotatedClusterState state = generateFromFixtureWithDefaultParams(fixture);

        assertThat(state.toString(), equalTo("distributor:5 storage:5 .2.s:r"));
    }
Maintenance mode overrides all reported states, even Down.
clustercontroller-core/src/test/java/com/yahoo/vespa/clustercontroller/core/ClusterStateGeneratorTest.java