### 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
/*
 * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
 * or more contributor license agreements. Licensed under the Elastic License
 * 2.0 and the Server Side Public License, v 1; you may not use this file except
 * in compliance with, at your election, the Elastic License 2.0 or the Server
 * Side Public License, v 1.
 */
package org.elasticsearch.upgrades;
import org.elasticsearch.Version;
import org.elasticsearch.action.admin.cluster.desirednodes.UpdateDesiredNodesRequest;
import org.elasticsearch.client.Request;
import org.elasticsearch.client.ResponseException;
import org.elasticsearch.cluster.metadata.DesiredNode;
import org.elasticsearch.cluster.metadata.DesiredNodeWithStatus;
import org.elasticsearch.common.Strings;
import org.elasticsearch.common.settings.Settings;
import org.elasticsearch.common.unit.ByteSizeValue;
import org.elasticsearch.common.unit.Processors;
import org.elasticsearch.common.xcontent.support.XContentMapValues;
import org.elasticsearch.xcontent.json.JsonXContent;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import static org.elasticsearch.node.Node.NODE_NAME_SETTING;
import static org.hamcrest.Matchers.equalTo;
import static org.hamcrest.Matchers.greaterThan;
import static org.hamcrest.Matchers.is;
public class DesiredNodesUpgradeIT extends AbstractRollingTestCase {