You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@usergrid.apache.org by sn...@apache.org on 2015/04/17 17:26:37 UTC
[20/51] [abbrv] incubator-usergrid git commit: remove recursive call
to self
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/two-dot-o-import
Commit: da8d7b6c9bf76660d28629064e3396b72d9a800c
Parents: 90e2032
Author: Shawn Feldman <sf...@apache.org>
Authored: Thu Apr 2 12:08:22 2015 -0600
Committer: Shawn Feldman <sf...@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){
+
+ }
}
}