You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@usergrid.apache.org by gr...@apache.org on 2015/11/18 00:47:22 UTC

[07/21] usergrid git commit: Tests run more reliably with 20 iterations.

Tests run more reliably with 20 iterations.


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

Branch: refs/heads/master
Commit: f2cbf1a98c723fe75ec6ff967e74c95b09aa82a3
Parents: bba77f0
Author: Dave Johnson <sn...@apache.org>
Authored: Mon Nov 16 13:25:58 2015 -0500
Committer: Dave Johnson <sn...@apache.org>
Committed: Mon Nov 16 13:25:58 2015 -0500

----------------------------------------------------------------------
 .../java/org/apache/usergrid/corepersistence/CpEntityManager.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/usergrid/blob/f2cbf1a9/stack/core/src/main/java/org/apache/usergrid/corepersistence/CpEntityManager.java
----------------------------------------------------------------------
diff --git a/stack/core/src/main/java/org/apache/usergrid/corepersistence/CpEntityManager.java b/stack/core/src/main/java/org/apache/usergrid/corepersistence/CpEntityManager.java
index 009266b..522c523 100644
--- a/stack/core/src/main/java/org/apache/usergrid/corepersistence/CpEntityManager.java
+++ b/stack/core/src/main/java/org/apache/usergrid/corepersistence/CpEntityManager.java
@@ -2887,7 +2887,7 @@ public class CpEntityManager implements EntityManager {
             EntityIndex.IndexRefreshCommandInfo indexRefreshCommandInfo
                 = managerCache.getEntityIndex(applicationScope).refreshAsync().toBlocking().first();
             try {
-                for (int i = 0; i < 10; i++) {
+                for (int i = 0; i < 20; i++) {
                     if (searchCollection(
                         new SimpleEntityRef(org.apache.usergrid.persistence.entities.Application.ENTITY_TYPE, getApplicationId()),
                         InflectionUtils.pluralize("refresh"),