usergrid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From g...@apache.org
Subject [41/52] [abbrv] git commit: refreshIndex() fixes counting mutator test.
Date Wed, 03 Sep 2014 22:11:36 GMT
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 <dmjohnson@apigee.com>
Authored: Tue Sep 2 16:30:54 2014 -0400
Committer: Dave Johnson <dmjohnson@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 ++){


Mime
View raw message