@Test
    void config_retired_mode_is_overridden_by_worse_wanted_state() {
        ClusterFixture fixture = ClusterFixture.forFlatCluster(5)
                .markNodeAsConfigRetired(2)
                .markNodeAsConfigRetired(3)
                .bringEntireClusterUp()
                .proposeStorageNodeWantedState(2, State.DOWN)
                .proposeStorageNodeWantedState(3, State.MAINTENANCE);

        AnnotatedClusterState state = generateFromFixtureWithDefaultParams(fixture);

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