1
0
Prechádzať zdrojové kódy

MAPREDUCE-687. Fix an assertion in TestMiniMRMapRedDebugScript. Contributed by Amareshwari Sriramadasu.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.20@809846 13f79535-47bb-0310-9956-ffa450edef68
Sharad Agarwal 16 rokov pred
rodič
commit
def8cf4a92

+ 3 - 0
CHANGES.txt

@@ -250,6 +250,9 @@ Release 0.20.1 - 2009-08-27
     MAPREDUCE-911. Fix a bug in TestTaskFail related to speculative 
     execution. (Amareshwari Sriramadasu via sharad)
 
+    MAPREDUCE-687. Fix an assertion in TestMiniMRMapRedDebugScript.
+    (Amareshwari Sriramadasu via sharad)
+
 Release 0.20.0 - 2009-04-15
 
   INCOMPATIBLE CHANGES

+ 1 - 1
src/test/org/apache/hadoop/mapred/TestMiniMRMapRedDebugScript.java

@@ -207,7 +207,7 @@ public class TestMiniMRMapRedDebugScript extends TestCase {
                                outDir,debugDir, debugScript, input);
       
       // Assert the output of debug script.
-      assertEquals("Test Script\nBailing out", result);
+      assertTrue(result.contains("Test Script\nBailing out"));
 
     } finally {  
       // close file system and shut down dfs and mapred cluster