hadoop-mapreduce-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sha...@apache.org
Subject svn commit: r809843 - in /hadoop/mapreduce/trunk: CHANGES.txt src/test/mapred/org/apache/hadoop/mapred/TestMiniMRMapRedDebugScript.java
Date Tue, 01 Sep 2009 06:19:34 GMT
Author: sharad
Date: Tue Sep  1 06:19:34 2009
New Revision: 809843

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

Modified:
    hadoop/mapreduce/trunk/CHANGES.txt
    hadoop/mapreduce/trunk/src/test/mapred/org/apache/hadoop/mapred/TestMiniMRMapRedDebugScript.java

Modified: hadoop/mapreduce/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/mapreduce/trunk/CHANGES.txt?rev=809843&r1=809842&r2=809843&view=diff
==============================================================================
--- hadoop/mapreduce/trunk/CHANGES.txt (original)
+++ hadoop/mapreduce/trunk/CHANGES.txt Tue Sep  1 06:19:34 2009
@@ -503,3 +503,7 @@
 
     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)
+

Modified: hadoop/mapreduce/trunk/src/test/mapred/org/apache/hadoop/mapred/TestMiniMRMapRedDebugScript.java
URL: http://svn.apache.org/viewvc/hadoop/mapreduce/trunk/src/test/mapred/org/apache/hadoop/mapred/TestMiniMRMapRedDebugScript.java?rev=809843&r1=809842&r2=809843&view=diff
==============================================================================
--- hadoop/mapreduce/trunk/src/test/mapred/org/apache/hadoop/mapred/TestMiniMRMapRedDebugScript.java
(original)
+++ hadoop/mapreduce/trunk/src/test/mapred/org/apache/hadoop/mapred/TestMiniMRMapRedDebugScript.java
Tue Sep  1 06:19:34 2009
@@ -209,7 +209,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