usergrid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From toddn...@apache.org
Subject [08/50] incubator-usergrid git commit: add test delays
Date Mon, 13 Apr 2015 17:45:33 GMT
add test delays


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

Branch: refs/heads/USERGRID-536
Commit: 60c3db2f413b2238628b4dd6e3380313af878692
Parents: cc4f9c0
Author: Shawn Feldman <sfeldman@apache.org>
Authored: Fri Apr 3 13:54:09 2015 -0600
Committer: Shawn Feldman <sfeldman@apache.org>
Committed: Fri Apr 3 13:54:09 2015 -0600

----------------------------------------------------------------------
 stack/core/src/test/java/org/apache/usergrid/CoreApplication.java  | 2 +-
 .../test/java/org/apache/usergrid/persistence/CollectionIT.java    | 1 +
 .../org/apache/usergrid/persistence/query/IteratingQueryIT.java    | 1 +
 3 files changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/60c3db2f/stack/core/src/test/java/org/apache/usergrid/CoreApplication.java
----------------------------------------------------------------------
diff --git a/stack/core/src/test/java/org/apache/usergrid/CoreApplication.java b/stack/core/src/test/java/org/apache/usergrid/CoreApplication.java
index c59ff72..110e8ac 100644
--- a/stack/core/src/test/java/org/apache/usergrid/CoreApplication.java
+++ b/stack/core/src/test/java/org/apache/usergrid/CoreApplication.java
@@ -223,7 +223,7 @@ public class CoreApplication implements Application, TestRule {
         entityIndex.refresh();
 
         try{
-            Thread.sleep(50);
+            Thread.sleep(100);
         }catch (InterruptedException ie){}
     }
 

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/60c3db2f/stack/core/src/test/java/org/apache/usergrid/persistence/CollectionIT.java
----------------------------------------------------------------------
diff --git a/stack/core/src/test/java/org/apache/usergrid/persistence/CollectionIT.java b/stack/core/src/test/java/org/apache/usergrid/persistence/CollectionIT.java
index 129a701..6780d1d 100644
--- a/stack/core/src/test/java/org/apache/usergrid/persistence/CollectionIT.java
+++ b/stack/core/src/test/java/org/apache/usergrid/persistence/CollectionIT.java
@@ -323,6 +323,7 @@ public class CollectionIT extends AbstractCoreIT {
         assertNotNull( user );
 
         app.refreshIndex();
+        Thread.sleep(100);
 
         // EntityRef
         Query query = new Query();

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/60c3db2f/stack/core/src/test/java/org/apache/usergrid/persistence/query/IteratingQueryIT.java
----------------------------------------------------------------------
diff --git a/stack/core/src/test/java/org/apache/usergrid/persistence/query/IteratingQueryIT.java
b/stack/core/src/test/java/org/apache/usergrid/persistence/query/IteratingQueryIT.java
index c2b8b87..e76a643 100644
--- a/stack/core/src/test/java/org/apache/usergrid/persistence/query/IteratingQueryIT.java
+++ b/stack/core/src/test/java/org/apache/usergrid/persistence/query/IteratingQueryIT.java
@@ -1126,6 +1126,7 @@ public class IteratingQueryIT {
         LOG.info( "Writes took {} ms", stop - start );
 
         app.refreshIndex();
+        app.refreshIndex();
 
         Query query = new Query();
         query.setLimit( 100 );


Mime
View raw message