usergrid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From toddn...@apache.org
Subject [39/50] [abbrv] incubator-usergrid git commit: Added fix for stale index cleanup
Date Mon, 01 Jun 2015 21:48:48 GMT
Added fix for stale index cleanup


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

Branch: refs/heads/USERGRID-628
Commit: 15e64da849db4e5440b506ffca9d685574e362f1
Parents: ab81cbe
Author: GERey <greyes@apigee.com>
Authored: Mon Jun 1 08:56:04 2015 -0700
Committer: GERey <greyes@apigee.com>
Committed: Mon Jun 1 08:56:04 2015 -0700

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


http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/15e64da8/stack/core/src/test/java/org/apache/usergrid/corepersistence/StaleIndexCleanupTest.java
----------------------------------------------------------------------
diff --git a/stack/core/src/test/java/org/apache/usergrid/corepersistence/StaleIndexCleanupTest.java
b/stack/core/src/test/java/org/apache/usergrid/corepersistence/StaleIndexCleanupTest.java
index ab2402e..29dc549 100644
--- a/stack/core/src/test/java/org/apache/usergrid/corepersistence/StaleIndexCleanupTest.java
+++ b/stack/core/src/test/java/org/apache/usergrid/corepersistence/StaleIndexCleanupTest.java
@@ -454,7 +454,7 @@ public class StaleIndexCleanupTest extends AbstractCoreIT {
 
         do {
             //trigger the repair
-            queryCollectionEm("dogs", "select *");
+            queryCollectionEm("dogs", "select * order by created");
             app.refreshIndex();
             crs = queryCollectionCp("dogs", "dog", "select *");
         } while ( crs.size() != numEntities && count++ < 15 );


Mime
View raw message