Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions muted-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -411,9 +411,6 @@ tests:
- class: org.elasticsearch.xpack.ilm.TimeSeriesDataStreamsIT
method: testShrinkActionInPolicyWithoutHotPhase
issue: https://github.com/elastic/elasticsearch/issues/126746
- class: org.elasticsearch.repositories.blobstore.testkit.analyze.RepositoryAnalysisFailureIT
method: testFailsOnWriteException
issue: https://github.com/elastic/elasticsearch/issues/126747

# Examples:
#
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,9 @@ public void testFailsOnWriteException() {
request.maxBlobSize(ByteSizeValue.ofBytes(10L));
request.abortWritePermitted(false);

final CountDown countDown = new CountDown(between(1, request.getBlobCount()));
// requests that create copies count as two blobs. Halving the count ensures that we trigger the disruption
// even if every request is a copy
final CountDown countDown = new CountDown(between(1, request.getBlobCount() / 2));

blobStore.setDisruption(new Disruption() {

Expand Down