You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@usergrid.apache.org by gr...@apache.org on 2014/09/04 00:11:36 UTC

[41/52] [abbrv] git commit: refreshIndex() fixes counting mutator test.

refreshIndex() fixes counting mutator test.


Project: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/commit/350489c7
Tree: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/tree/350489c7
Diff: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/diff/350489c7

Branch: refs/heads/two-dot-o-push-notifications
Commit: 350489c77f2b326464e3083944902f58300021f8
Parents: 193d0cd
Author: Dave Johnson <dm...@apigee.com>
Authored: Tue Sep 2 16:30:54 2014 -0400
Committer: Dave Johnson <dm...@apigee.com>
Committed: Tue Sep 2 16:30:54 2014 -0400

----------------------------------------------------------------------
 .../java/org/apache/usergrid/persistence/CountingMutatorIT.java   | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/350489c7/stack/core/src/test/java/org/apache/usergrid/persistence/CountingMutatorIT.java
----------------------------------------------------------------------
diff --git a/stack/core/src/test/java/org/apache/usergrid/persistence/CountingMutatorIT.java b/stack/core/src/test/java/org/apache/usergrid/persistence/CountingMutatorIT.java
index cb1371b..83a00f3 100644
--- a/stack/core/src/test/java/org/apache/usergrid/persistence/CountingMutatorIT.java
+++ b/stack/core/src/test/java/org/apache/usergrid/persistence/CountingMutatorIT.java
@@ -75,11 +75,10 @@ public class CountingMutatorIT extends AbstractCoreIT {
         properties.put( "username", "testuser" );
         properties.put( "email", "test@foo.bar" );
         Entity created = em.create( "user", properties );
+        em.refreshIndex();
 
         Entity returned = em.get( created.getUuid() );
 
-
-
         int writeSize = ( int ) ( CountingMutator.MAX_SIZE*2.5);
 
         for(int i = 0; i < writeSize; i ++){