usergrid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From toddn...@apache.org
Subject [01/50] incubator-usergrid git commit: remove recursive call to self
Date Mon, 13 Apr 2015 17:45:26 GMT
Repository: incubator-usergrid
Updated Branches:
  refs/heads/USERGRID-536 2eac3be13 -> 641804790


remove recursive call to self


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

Branch: refs/heads/USERGRID-536
Commit: da8d7b6c9bf76660d28629064e3396b72d9a800c
Parents: 90e2032
Author: Shawn Feldman <sfeldman@apache.org>
Authored: Thu Apr 2 12:08:22 2015 -0600
Committer: Shawn Feldman <sfeldman@apache.org>
Committed: Thu Apr 2 12:08:22 2015 -0600

----------------------------------------------------------------------
 .../src/test/java/org/apache/usergrid/CoreITSetupImpl.java  | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/da8d7b6c/stack/core/src/test/java/org/apache/usergrid/CoreITSetupImpl.java
----------------------------------------------------------------------
diff --git a/stack/core/src/test/java/org/apache/usergrid/CoreITSetupImpl.java b/stack/core/src/test/java/org/apache/usergrid/CoreITSetupImpl.java
index 26254b1..82e5486 100644
--- a/stack/core/src/test/java/org/apache/usergrid/CoreITSetupImpl.java
+++ b/stack/core/src/test/java/org/apache/usergrid/CoreITSetupImpl.java
@@ -162,6 +162,13 @@ public class CoreITSetupImpl implements CoreITSetup, TestEntityIndex
{
         } catch (InterruptedException ie){
 
         }
-        getEntityIndex().refresh();
+
+        emf.refreshIndex();
+
+        try {
+            Thread.sleep(50);
+        } catch (InterruptedException ie){
+
+        }
     }
 }


Mime
View raw message