hama-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From edwardy...@apache.org
Subject svn commit: r1409622 - /hama/trunk/core/src/test/java/org/apache/hama/bsp/TestFileInputFormat.java
Date Thu, 15 Nov 2012 00:38:28 GMT
Author: edwardyoon
Date: Thu Nov 15 00:38:27 2012
New Revision: 1409622

URL: http://svn.apache.org/viewvc?rev=1409622&view=rev
Log:
Fix unit test

Modified:
    hama/trunk/core/src/test/java/org/apache/hama/bsp/TestFileInputFormat.java

Modified: hama/trunk/core/src/test/java/org/apache/hama/bsp/TestFileInputFormat.java
URL: http://svn.apache.org/viewvc/hama/trunk/core/src/test/java/org/apache/hama/bsp/TestFileInputFormat.java?rev=1409622&r1=1409621&r2=1409622&view=diff
==============================================================================
--- hama/trunk/core/src/test/java/org/apache/hama/bsp/TestFileInputFormat.java (original)
+++ hama/trunk/core/src/test/java/org/apache/hama/bsp/TestFileInputFormat.java Thu Nov 15
00:38:27 2012
@@ -24,7 +24,7 @@ public class TestFileInputFormat extends
   public void testComputeGoalSize() throws Exception {
 
     TextInputFormat input = new TextInputFormat();
-    assertEquals(1000, input.computeGoalSize(10, 10000));
+    assertTrue(1000 < input.computeGoalSize(10, 10000) && 1200 > input.computeGoalSize(10,
10000));
     
   }
 }



Mime
View raw message