**Build scan:**
https://gradle-enterprise.elastic.co/s/63ypxmt53q6gc/tests/:server:internalClusterTest/org.elasticsearch.cluster.settings.ClusterSettingsUpdateWithFaultyMasterIT/testClusterSettingsUpdateNotAcknowledged

**Reproduction line:**
```
./gradlew ':server:internalClusterTest' --tests "org.elasticsearch.cluster.settings.ClusterSettingsUpdateWithFaultyMasterIT.testClusterSettingsUpdateNotAcknowledged" -Dtests.seed=20EF8EE69CC7EA19 -Dtests.locale=sv-SE -Dtests.timezone=Etc/GMT+10 -Druntime.java=20
```

**Applicable branches:**
main

**Reproduces locally?:**
No

**Failure history:**
https://gradle-enterprise.elastic.co/scans/tests?tests.container=org.elasticsearch.cluster.settings.ClusterSettingsUpdateWithFaultyMasterIT&tests.test=testClusterSettingsUpdateNotAcknowledged

**Failure excerpt:**
```
java.lang.Exception: Test abandoned because suite timeout was reached.

  at __randomizedtesting.SeedInfo.seed([20EF8EE69CC7EA19]:0)

```
server/src/internalClusterTest/java/org/elasticsearch/cluster/settings/ClusterSettingsUpdateWithFaultyMasterIT.java
private static final Logger logger = LogManager.getLogger(BlockingClusterSettingTestPlugin.class);
        private static final CountDownLatch blockLatch = new CountDownLatch(1);
        private static final CountDownLatch releaseLatch = new CountDownLatch(1);
        private static final AtomicBoolean blockOnce = new AtomicBoolean();
        public static final Setting<Boolean> TEST_BLOCKING_SETTING = Setting.boolSetting("cluster.test.blocking_setting", false, value -> {
            if (blockOnce.compareAndSet(false, true)) {
                logger.info("--> setting validation is now blocking cluster state update");
                blockLatch.countDown();
                logger.info("--> setting validation is now waiting for release");
                safeAwait(releaseLatch);
                logger.info("--> setting validation is done");
            } else {
                logger.info("--> setting validation was blocked before");
            }
        }, Setting.Property.NodeScope, Setting.Property.Dynamic);
        @Override
        public List<Setting<?>> getSettings() {
            return List.of(TEST_BLOCKING_SETTING);
        }
    }
}