### CI Link

https://gradle-enterprise.elastic.co/s/4accu24s4cbyc

### Repro line

./gradlew ':server:internalClusterTest' --tests "org.elasticsearch.get.ShardMultiGetFomTranslogActionIT.testShardMultiGetFromTranslog" -Dtests.seed=AC01D0C25C12539E -Dtests.locale=hr-HR -Dtests.timezone=Africa/Windhoek -Druntime.java=20

### Does it reproduce?

Yes

### Applicable branches

main

### Failure history

Test was introduced today via https://github.com/elastic/elasticsearch/pull/96492

### Failure excerpt

```java
org.elasticsearch.get.ShardMultiGetFomTranslogActionIT > testShardMultiGetFromTranslog FAILED
    java.lang.AssertionError
        at __randomizedtesting.SeedInfo.seed([AC01D0C25C12539E:D5637AF36B6B21E3]:0)
        at org.junit.Assert.fail(Assert.java:86)
        at org.junit.Assert.assertTrue(Assert.java:41)
        at org.junit.Assert.assertNotNull(Assert.java:712)
        at org.junit.Assert.assertNotNull(Assert.java:722)
        at org.elasticsearch.get.ShardMultiGetFomTranslogActionIT.testShardMultiGetFromTranslog(ShardMultiGetFomTranslogActionIT.java:105)
```


server/src/internalClusterTest/java/org/elasticsearch/get/ShardMultiGetFomTranslogActionIT.java
import org.elasticsearch.action.support.WriteRequest;
import org.elasticsearch.cluster.metadata.IndexMetadata;
import org.elasticsearch.common.settings.Settings;
import org.elasticsearch.test.ESIntegTestCase;
import org.elasticsearch.threadpool.ThreadPool;
import org.elasticsearch.transport.TransportService;
import java.util.Arrays;
import java.util.List;
import java.util.Objects;
import static org.elasticsearch.action.get.ShardMultiGetFromTranslogUtil.getFailures;
import static org.elasticsearch.action.get.ShardMultiGetFromTranslogUtil.getLocations;
import static org.elasticsearch.action.get.ShardMultiGetFromTranslogUtil.getResponses;
import static org.elasticsearch.test.hamcrest.ElasticsearchAssertions.assertAcked;
import static org.elasticsearch.test.hamcrest.ElasticsearchAssertions.assertNoFailures;
import static org.hamcrest.Matchers.equalTo;
import static org.hamcrest.Matchers.greaterThan;
public class ShardMultiGetFomTranslogActionIT extends ESIntegTestCase {
    @AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/96749")
    public void testShardMultiGetFromTranslog() throws Exception {
        assertAcked(
            prepareCreate("test").setSettings(
                Settings.builder()
                    .put("index.refresh_interval", -1)
                    
                    .put(IndexMetadata.SETTING_NUMBER_OF_REPLICAS, 0)
                    .put(IndexMetadata.SETTING_NUMBER_OF_SHARDS, 1)
            ).addAlias(new Alias("alias").writeIndex(randomFrom(true, false, null)))
        );
        ensureGreen();