You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hama.apache.org by ed...@apache.org on 2012/09/25 07:37:06 UTC

svn commit: r1389712 - /hama/trunk/core/src/test/java/org/apache/hama/examples/ClassSerializePrinting.java

Author: edwardyoon
Date: Tue Sep 25 05:37:06 2012
New Revision: 1389712

URL: http://svn.apache.org/viewvc?rev=1389712&view=rev
Log:
Trivial change.

Modified:
    hama/trunk/core/src/test/java/org/apache/hama/examples/ClassSerializePrinting.java

Modified: hama/trunk/core/src/test/java/org/apache/hama/examples/ClassSerializePrinting.java
URL: http://svn.apache.org/viewvc/hama/trunk/core/src/test/java/org/apache/hama/examples/ClassSerializePrinting.java?rev=1389712&r1=1389711&r2=1389712&view=diff
==============================================================================
--- hama/trunk/core/src/test/java/org/apache/hama/examples/ClassSerializePrinting.java (original)
+++ hama/trunk/core/src/test/java/org/apache/hama/examples/ClassSerializePrinting.java Tue Sep 25 05:37:06 2012
@@ -46,6 +46,12 @@ public class ClassSerializePrinting exte
 
         bspPeer.send(otherPeer, map);
       }
+      
+      // Test superstep counter
+      if (i != bspPeer.getSuperstepCount()) {
+        throw new IOException();
+      }
+      
       bspPeer.sync();
 
       MapWritable msg = null;