You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@usergrid.apache.org by to...@apache.org on 2015/03/20 22:32:57 UTC

[24/31] incubator-usergrid git commit: add small sleep

add small sleep


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

Branch: refs/heads/USERGRID-486
Commit: 7002051c8993d7791ff50c1257e82155e60ab818
Parents: e64e15f
Author: Shawn Feldman <sf...@apache.org>
Authored: Fri Mar 20 12:51:31 2015 -0600
Committer: Shawn Feldman <sf...@apache.org>
Committed: Fri Mar 20 12:51:31 2015 -0600

----------------------------------------------------------------------
 .../src/test/java/org/apache/usergrid/CoreApplication.java     | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/7002051c/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 ea7a5de..00972ea 100644
--- a/stack/core/src/test/java/org/apache/usergrid/CoreApplication.java
+++ b/stack/core/src/test/java/org/apache/usergrid/CoreApplication.java
@@ -216,6 +216,12 @@ public class CoreApplication implements Application, TestRule {
 
     @Override
     public void refreshIndex() {
+        try{
+            Thread.sleep(100);
+        }catch (InterruptedException ie){
+
+        }
+
         entityIndex.refresh();
     }