hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sha...@apache.org
Subject svn commit: r809846 - in /hadoop/common/branches/branch-0.20: CHANGES.txt src/test/org/apache/hadoop/mapred/TestMiniMRMapRedDebugScript.java
Date Tue, 01 Sep 2009 06:33:14 GMT
Author: sharad
Date: Tue Sep  1 06:33:14 2009
New Revision: 809846

URL: http://svn.apache.org/viewvc?rev=809846&view=rev
Log:
MAPREDUCE-687. Fix an assertion in TestMiniMRMapRedDebugScript. Contributed by Amareshwari
Sriramadasu.

Modified:
    hadoop/common/branches/branch-0.20/CHANGES.txt
    hadoop/common/branches/branch-0.20/src/test/org/apache/hadoop/mapred/TestMiniMRMapRedDebugScript.java

Modified: hadoop/common/branches/branch-0.20/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.20/CHANGES.txt?rev=809846&r1=809845&r2=809846&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.20/CHANGES.txt (original)
+++ hadoop/common/branches/branch-0.20/CHANGES.txt Tue Sep  1 06:33:14 2009
@@ -250,6 +250,9 @@
     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

Modified: hadoop/common/branches/branch-0.20/src/test/org/apache/hadoop/mapred/TestMiniMRMapRedDebugScript.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.20/src/test/org/apache/hadoop/mapred/TestMiniMRMapRedDebugScript.java?rev=809846&r1=809845&r2=809846&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.20/src/test/org/apache/hadoop/mapred/TestMiniMRMapRedDebugScript.java
(original)
+++ hadoop/common/branches/branch-0.20/src/test/org/apache/hadoop/mapred/TestMiniMRMapRedDebugScript.java
Tue Sep  1 06:33:14 2009
@@ -207,7 +207,7 @@
                                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



Mime
View raw message