### CI Link

https://gradle-enterprise.elastic.co/s/ou2sap2dhy3q2/tests/:server:internalClusterTest/org.elasticsearch.snapshots.SharedClusterSnapshotRestoreIT/testDataFileFailureDuringSnapshot

### Repro line

./gradlew ':server:internalClusterTest' --tests "org.elasticsearch.snapshots.SharedClusterSnapshotRestoreIT.testDataFileFailureDuringSnapshot" -Dtests.seed=37B64CEE1DCEACEB -Dtests.locale=uk -Dtests.timezone=Africa/Lusaka -Druntime.java=17

### Does it reproduce?

Yes

### Applicable branches

main

### Failure history

_No response_

### Failure excerpt

```
java.lang.Exception: Test abandoned because suite timeout was reached. 
    at __randomizedtesting.SeedInfo.seed([37B64CEE1DCEACEB]:0)
```
server/src/test/java/org/elasticsearch/repositories/blobstore/ShardSnapshotTaskRunnerTests.java
SnapshotId s1 = new SnapshotId("s1", UUIDs.randomBase64UUID());
        SnapshotId s2 = new SnapshotId("s2", UUIDs.randomBase64UUID());
        SnapshotId s3 = new SnapshotId("s3", UUIDs.randomBase64UUID());
        ActionListener<Void> listener = ActionListener.noop();
        final long s1StartTime = threadPool.absoluteTimeInMillis();
        final long s2StartTime = s1StartTime + randomLongBetween(1, 1000);
        SnapshotShardContext s1Context = dummyContext(s1, s1StartTime);
        SnapshotShardContext s2Context = dummyContext(s2, s2StartTime);
        SnapshotShardContext s3Context = dummyContext(s3, s2StartTime);
        
        assertThat(workers.new ShardSnapshotTask(s2Context).compareTo(workers.new ShardSnapshotTask(s3Context)), equalTo(0));
        
        assertThat(
            workers.new ShardSnapshotTask(s1Context).compareTo(workers.new FileSnapshotTask(s1Context, dummyFileInfo(), listener)),
            lessThan(0)
        );
        assertThat(
            workers.new ShardSnapshotTask(s2Context).compareTo(workers.new FileSnapshotTask(s1Context, dummyFileInfo(), listener)),
            lessThan(0)
        );
        
        assertThat(
            workers.new FileSnapshotTask(s1Context, dummyFileInfo(), listener).compareTo(
                workers.new FileSnapshotTask(s2Context, dummyFileInfo(), listener)
            ),
            lessThan(0)
        );
    }
}