Skip to content

Commit 2d10bdd

Browse files
committed
Reenable azure repository tests and remove some randomization in http servers (#48283)
Relates #47948 Relates #47380
1 parent bc69175 commit 2d10bdd

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

plugins/repository-azure/src/test/java/org/elasticsearch/repositories/azure/AzureBlobStoreRepositoryTests.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -265,10 +265,4 @@ protected String requestUniqueId(final HttpExchange exchange) {
265265
+ (range != null ? " " + range : "");
266266
}
267267
}
268-
269-
@Override
270-
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/47948")
271-
public void testIndicesDeletedFromRepository() throws Exception {
272-
273-
}
274268
}

test/framework/src/main/java/org/elasticsearch/repositories/blobstore/ESMockAPIBasedRepositoryIntegTestCase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ public void handle(final HttpExchange exchange) throws IOException {
157157

158158
final boolean canFailRequest = canFailRequest(exchange);
159159
final int count = requests.computeIfAbsent(requestId, req -> new AtomicInteger(0)).incrementAndGet();
160-
if (count >= maxErrorsPerRequest || canFailRequest == false || randomBoolean()) {
160+
if (count >= maxErrorsPerRequest || canFailRequest == false) {
161161
requests.remove(requestId);
162162
delegate.handle(exchange);
163163
} else {

0 commit comments

Comments
 (0)