HDFS-11967. TestJMXGet fails occasionally. Contributed by Arpit Agarwal.

This commit is contained in:
Arpit Agarwal 2017-06-12 16:03:47 -07:00
parent 3f0a727f75
commit b3d3ede91a
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ public class TestJMXGet {
byte[] bytes = null;
String pattern = "List of all the available keys:";
PipedOutputStream pipeOut = new PipedOutputStream();
PipedInputStream pipeIn = new PipedInputStream(pipeOut);
PipedInputStream pipeIn = new PipedInputStream(pipeOut, 1024 * 1024);
PrintStream oldErr = System.err;
System.setErr(new PrintStream(pipeOut));
try {