parent
c0156cbb5d
commit
b4480bb8a4
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue