Reenable azure repository tests and remove some randomization in http servers (#48283)
Relates #47948 Relates #47380
This commit is contained in:
parent
c1f6aff5bb
commit
4790ee4c32
|
@ -265,10 +265,4 @@ public class AzureBlobStoreRepositoryTests extends ESMockAPIBasedRepositoryInteg
|
|||
+ (range != null ? " " + range : "");
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/47948")
|
||||
public void testIndicesDeletedFromRepository() throws Exception {
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -157,7 +157,7 @@ public abstract class ESMockAPIBasedRepositoryIntegTestCase extends ESBlobStoreR
|
|||
|
||||
final boolean canFailRequest = canFailRequest(exchange);
|
||||
final int count = requests.computeIfAbsent(requestId, req -> new AtomicInteger(0)).incrementAndGet();
|
||||
if (count >= maxErrorsPerRequest || canFailRequest == false || randomBoolean()) {
|
||||
if (count >= maxErrorsPerRequest || canFailRequest == false) {
|
||||
requests.remove(requestId);
|
||||
delegate.handle(exchange);
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue