Skip to content

Commit

Permalink
[FLINK-2480][TEST]fix some CI issue and rerun CI
Browse files Browse the repository at this point in the history
  • Loading branch information
HuangWHWHW committed Aug 27, 2015
1 parent 1a59d90 commit fde7c49
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
*/
public class PrintSinkFunctionTest<IN> extends RichSinkFunction<IN> {

public PrintStream PrintStreamOriginal = System.out;
public PrintStream printStreamOriginal = System.out;

public class printStreamMock extends PrintStream{

Expand Down Expand Up @@ -289,7 +289,6 @@ public void testPrintSinkStdOut(){

@Test
public void testPrintSinkStdErr(){
PrintStreamOriginal = System.out;

printStreamMock stream = new printStreamMock(out);
System.setOut(stream);
Expand Down Expand Up @@ -327,7 +326,7 @@ public void invoke(IN record) {

@After
public void restoreSystemOut() {
System.setOut(PrintStreamOriginal);
System.setOut(printStreamOriginal);
}

}

0 comments on commit fde7c49

Please sign in to comment.