**Build scan:**
https://gradle-enterprise.elastic.co/s/6u2mspnlx5m56/tests/:server:test/org.elasticsearch.snapshots.SnapshotResiliencyTests/testConcurrentSnapshotDeleteAndDeleteIndex

**Reproduction line:**
```
./gradlew ':server:test' --tests "org.elasticsearch.snapshots.SnapshotResiliencyTests.testConcurrentSnapshotDeleteAndDeleteIndex" -Dtests.seed=A5148D4F4A8D82B8 -Dtests.locale=ko -Dtests.timezone=Asia/Yakutsk -Druntime.java=20
```

**Applicable branches:**
main

**Reproduces locally?:**
Didn't try

**Failure history:**
https://gradle-enterprise.elastic.co/scans/tests?tests.container=org.elasticsearch.snapshots.SnapshotResiliencyTests&tests.test=testConcurrentSnapshotDeleteAndDeleteIndex

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

  at __randomizedtesting.SeedInfo.seed([A5148D4F4A8D82B8]:0)

```
test/framework/src/main/java/org/elasticsearch/common/util/concurrent/DeterministicTaskQueue.java
private static final Logger logger = LogManager.getLogger(DeterministicTaskQueue.class);
    public static final String NODE_ID_LOG_CONTEXT_KEY = "nodeId";
    private final List<Runnable> runnableTasks = new ArrayList<>();
    private final Random random;
    private List<DeferredTask> deferredTasks = new ArrayList<>();
    private long currentTimeMillis;
    private long nextDeferredTaskExecutionTimeMillis = Long.MAX_VALUE;
    private long executionDelayVariabilityMillis;
    private long latestDeferredExecutionTime;
    public DeterministicTaskQueue(Random random) {
        this.random = random;
    }
    public DeterministicTaskQueue() {
        this(ESTestCase.random());
    }
    public long getExecutionDelayVariabilityMillis() {
        return executionDelayVariabilityMillis;
    }
    public void setExecutionDelayVariabilityMillis(long executionDelayVariabilityMillis) {
        assert executionDelayVariabilityMillis >= 0 : executionDelayVariabilityMillis;
        this.executionDelayVariabilityMillis = executionDelayVariabilityMillis;
    }
    public void runAllRunnableTasks() {
        while (hasRunnableTasks()) {
            runRandomTask();
        }
    }