Skip to content
Merged
Changes from all commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,6 @@ public void testHttpExporter() throws Exception {
}
}

@AwaitsFix (bugUrl = "https://github.com/elastic/elasticsearch/issues/31433" )
public void testHttpExporterShutdown() throws Exception {
final Config config = createConfig(Settings.EMPTY);
final RestClient client = mock(RestClient.class);
Expand All @@ -469,7 +468,7 @@ public void testHttpExporterShutdown() throws Exception {
final MultiHttpResource resource = mock(MultiHttpResource.class);

if (sniffer != null && rarely()) {
doThrow(randomFrom(new IOException("expected"), new RuntimeException("expected"))).when(sniffer).close();
doThrow(new RuntimeException("expected")).when(sniffer).close();
}

if (rarely()) {
Expand Down