Skip to content

Commit

Permalink
Mute LoggingOutputStreamTests (#51917)
Browse files Browse the repository at this point in the history
Relates #51838
  • Loading branch information
ywelsch committed Feb 5, 2020
1 parent c0156cb commit b4480bb
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ public void createStream() throws Exception {
printStream = new PrintStream(loggingStream, false, StandardCharsets.UTF_8.name());
}

@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/51838")
public void testEmptyLine() {
printStream.println("");
assertTrue(loggingStream.lines.isEmpty());
Expand Down Expand Up @@ -95,6 +96,7 @@ public void testBufferExtension() {
assertThat(loggingStream.threadLocal.get().bytes.length, equalTo(DEFAULT_BUFFER_LENGTH));
}

@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/51838")
public void testMaxBuffer() {
String longStr = randomAlphaOfLength(MAX_BUFFER_LENGTH);
String extraLongStr = longStr + "OVERFLOW";
Expand Down

0 comments on commit b4480bb

Please sign in to comment.