Skip to content

Commit

Permalink
Reenable azure repository tests and remove some randomization in http…
Browse files Browse the repository at this point in the history
… servers (#48283)

Relates #47948
Relates #47380
  • Loading branch information
tlrx committed Oct 23, 2019
1 parent c1f6aff commit 4790ee4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -265,10 +265,4 @@ protected String requestUniqueId(final HttpExchange exchange) {
+ (range != null ? " " + range : "");
}
}

@Override
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/47948")
public void testIndicesDeletedFromRepository() throws Exception {

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ public void handle(final HttpExchange exchange) throws IOException {

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 {
Expand Down

0 comments on commit 4790ee4

Please sign in to comment.