accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ktur...@apache.org
Subject svn commit: r1442702 - in /accumulo/trunk/test/src/main/java/org/apache/accumulo/test/randomwalk/sequential: Commit.java SequentialFixture.java
Date Tue, 05 Feb 2013 19:23:15 GMT
Author: kturner
Date: Tue Feb  5 19:23:15 2013
New Revision: 1442702

URL: http://svn.apache.org/viewvc?rev=1442702&view=rev
Log:
ACCUMULO-259 fixed random walk test

Modified:
    accumulo/trunk/test/src/main/java/org/apache/accumulo/test/randomwalk/sequential/Commit.java
    accumulo/trunk/test/src/main/java/org/apache/accumulo/test/randomwalk/sequential/SequentialFixture.java

Modified: accumulo/trunk/test/src/main/java/org/apache/accumulo/test/randomwalk/sequential/Commit.java
URL: http://svn.apache.org/viewvc/accumulo/trunk/test/src/main/java/org/apache/accumulo/test/randomwalk/sequential/Commit.java?rev=1442702&r1=1442701&r2=1442702&view=diff
==============================================================================
--- accumulo/trunk/test/src/main/java/org/apache/accumulo/test/randomwalk/sequential/Commit.java
(original)
+++ accumulo/trunk/test/src/main/java/org/apache/accumulo/test/randomwalk/sequential/Commit.java
Tue Feb  5 19:23:15 2013
@@ -29,7 +29,7 @@ public class Commit extends Test {
     state.getMultiTableBatchWriter().flush();
     
     log.debug("Committed " + state.getLong("numWrites") + " writes.  Total writes: " + state.getLong("totalWrites"));
-    state.set("numWrites", new Integer(0));
+    state.set("numWrites", new Long(0));
   }
   
 }

Modified: accumulo/trunk/test/src/main/java/org/apache/accumulo/test/randomwalk/sequential/SequentialFixture.java
URL: http://svn.apache.org/viewvc/accumulo/trunk/test/src/main/java/org/apache/accumulo/test/randomwalk/sequential/SequentialFixture.java?rev=1442702&r1=1442701&r2=1442702&view=diff
==============================================================================
--- accumulo/trunk/test/src/main/java/org/apache/accumulo/test/randomwalk/sequential/SequentialFixture.java
(original)
+++ accumulo/trunk/test/src/main/java/org/apache/accumulo/test/randomwalk/sequential/SequentialFixture.java
Tue Feb  5 19:23:15 2013
@@ -49,8 +49,8 @@ public class SequentialFixture extends F
     }
     conn.tableOperations().setProperty(seqTableName, "table.scan.max.memory", "1K");
     
-    state.set("numWrites", new Integer(0));
-    state.set("totalWrites", new Integer(0));
+    state.set("numWrites", new Long(0));
+    state.set("totalWrites", new Long(0));
   }
   
   @Override



Mime
View raw message