### CI Link

https://gradle-enterprise.elastic.co/s/ff35boj3dy3qo/tests/:qa:rolling-upgrade:v8.2.0%23oneThirdUpgradedTest/org.elasticsearch.upgrades.DesiredNodesUpgradeIT/testUpgradeDesiredNodes

### Repro line

`./gradlew ':qa:rolling-upgrade:v8.2.0#oneThirdUpgradedTest' -Dtests.class="org.elasticsearch.upgrades.DesiredNodesUpgradeIT" -Dtests.method="testUpgradeDesiredNodes" -Dtests.seed=E0D4B6781946820C -Dtests.bwc=true -Dtests.locale=it-IT -Dtests.timezone=America/Sao_Paulo -Druntime.java=17`

### Does it reproduce?

Yes

### Applicable branches

main

### Failure history

https://gradle-enterprise.elastic.co/scans/tests?search.timeZoneId=Europe/Berlin&tests.container=org.elasticsearch.upgrades.DesiredNodesUpgradeIT&tests.test=testUpgradeDesiredNodes#

### Failure excerpt

```
junit.framework.AssertionFailedError: Expected exception ResponseException but no exception was thrown	
	at __randomizedtesting.SeedInfo.seed([E0D4B6781946820C:9680725C48C340A9]:0)	
	at org.apache.lucene.tests.util.LuceneTestCase.expectThrows(LuceneTestCase.java:2854)	
	at org.apache.lucene.tests.util.LuceneTestCase.expectThrows(LuceneTestCase.java:2840)	
	at org.elasticsearch.upgrades.DesiredNodesUpgradeIT.assertDesiredNodesWithFloatProcessorsAreRejectedInOlderVersions(DesiredNodesUpgradeIT.java:117)	
	at org.elasticsearch.upgrades.DesiredNodesUpgradeIT.testUpgradeDesiredNodes(DesiredNodesUpgradeIT.java:51)
```
qa/rolling-upgrade/src/test/java/org/elasticsearch/upgrades/DesiredNodesUpgradeIT.java
}
    private void assertDesiredNodesWithFloatProcessorsAreRejectedInOlderVersions() throws Exception {
        switch (CLUSTER_TYPE) {
            case OLD -> addClusterNodesToDesiredNodesWithIntegerProcessors(1);
            case MIXED -> {
                int version = FIRST_MIXED_ROUND ? 2 : 3;
                
                final var responseException = expectThrows(
                    ResponseException.class,
                    () -> addClusterNodesToDesiredNodesWithProcessorsOrProcessorRanges(version, ProcessorsPrecision.FLOAT)
                );
                final var statusCode = responseException.getResponse().getStatusLine().getStatusCode();
                assertThat(statusCode, is(equalTo(400)));
            }
            case UPGRADED -> {
                assertAllDesiredNodesAreActualized();
                addClusterNodesToDesiredNodesWithProcessorsOrProcessorRanges(4, ProcessorsPrecision.FLOAT);
            }
        }
        getLatestDesiredNodes();
    }
    private Map<String, Object> getLatestDesiredNodes() throws IOException {
        final var getDesiredNodesRequest = new Request("GET", "/_internal/desired_nodes/_latest");
        final var response = client().performRequest(getDesiredNodesRequest);
        assertThat(response.getStatusLine().getStatusCode(), is(equalTo(200)));
        return responseAsMap(response);
    }
    private void assertAllDesiredNodesAreActualized() throws Exception {
        final var request = new Request("GET", "_cluster/state/metadata");
        final var response = client().performRequest(request);