flink-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject [21/26] flink git commit: [FLINK-2377] [tests] Add reader.close() to readAllResultLines in TestBaseUtils
Date Tue, 21 Jul 2015 19:11:00 GMT
[FLINK-2377] [tests] Add reader.close() to readAllResultLines in TestBaseUtils

This closes #924


Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/29454de5
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/29454de5
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/29454de5

Branch: refs/heads/master
Commit: 29454de57edeeeb8b7ec404bfb8c08cba6e45781
Parents: ea2b1b1
Author: Gabor Gevay <ggab90@gmail.com>
Authored: Mon Jul 20 13:39:43 2015 +0100
Committer: Stephan Ewen <sewen@apache.org>
Committed: Tue Jul 21 17:58:15 2015 +0200

----------------------------------------------------------------------
 .../src/main/java/org/apache/flink/test/util/TestBaseUtils.java     | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flink/blob/29454de5/flink-test-utils/src/main/java/org/apache/flink/test/util/TestBaseUtils.java
----------------------------------------------------------------------
diff --git a/flink-test-utils/src/main/java/org/apache/flink/test/util/TestBaseUtils.java
b/flink-test-utils/src/main/java/org/apache/flink/test/util/TestBaseUtils.java
index b1134ba..9c8ff1b 100644
--- a/flink-test-utils/src/main/java/org/apache/flink/test/util/TestBaseUtils.java
+++ b/flink-test-utils/src/main/java/org/apache/flink/test/util/TestBaseUtils.java
@@ -248,6 +248,7 @@ public class TestBaseUtils {
 			while ((s = reader.readLine()) != null) {
 				target.add(s);
 			}
+			reader.close();
 		}
 	}
 


Mime
View raw message