Ver código fonte

HADOOP-5320. Add a close() in TestMapReduceLocal. (Jothi Padmanabhan via szetszwo)

git-svn-id: https://svn.apache.org/repos/asf/hadoop/core/branches/branch-0.20@756677 13f79535-47bb-0310-9956-ffa450edef68
Tsz-wo Sze 16 anos atrás
pai
commit
610889d36e

+ 3 - 0
CHANGES.txt

@@ -779,6 +779,9 @@ Release 0.20.0 - Unreleased
     HADOOP-5417. Don't ignore InterruptedExceptions that happen when calling 
     into rpc. (omalley)
 
+    HADOOP-5320. Add a close() in TestMapReduceLocal.  (Jothi Padmanabhan
+    via szetszwo)
+
 Release 0.19.2 - Unreleased
 
   BUG FIXES

+ 1 - 0
src/test/org/apache/hadoop/mapreduce/TestMapReduceLocal.java

@@ -77,6 +77,7 @@ public class TestMapReduceLocal extends TestCase {
      result.append('\n');
      line = b.readLine();
     }
+    b.close();
     return result.toString();
   }