Mute LoggingOutputStreamTests (#51917)

Relates #51838
This commit is contained in:
Yannick Welsch 2020-02-05 10:46:22 +01:00
parent c0156cbb5d
commit b4480bb8a4
1 changed files with 2 additions and 0 deletions

View File

@ -58,6 +58,7 @@ public class LoggingOutputStreamTests extends ESTestCase {
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());
@ -95,6 +96,7 @@ public class LoggingOutputStreamTests extends ESTestCase {
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";