usergrid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From toddn...@apache.org
Subject [35/50] [abbrv] incubator-usergrid git commit: Fixed GeoPagingTest
Date Mon, 01 Jun 2015 21:48:44 GMT
Fixed GeoPagingTest


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

Branch: refs/heads/USERGRID-628
Commit: 4df53d1cbf708e7aeb6807d68bc06e0f7e28c4fd
Parents: 7b4ef60
Author: GERey <greyes@apigee.com>
Authored: Fri May 29 17:19:52 2015 -0700
Committer: GERey <greyes@apigee.com>
Committed: Fri May 29 17:19:52 2015 -0700

----------------------------------------------------------------------
 .../apache/usergrid/rest/applications/queries/GeoPagingTest.java  | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/4df53d1c/stack/rest/src/test/java/org/apache/usergrid/rest/applications/queries/GeoPagingTest.java
----------------------------------------------------------------------
diff --git a/stack/rest/src/test/java/org/apache/usergrid/rest/applications/queries/GeoPagingTest.java
b/stack/rest/src/test/java/org/apache/usergrid/rest/applications/queries/GeoPagingTest.java
index d83bee4..4617d5e 100644
--- a/stack/rest/src/test/java/org/apache/usergrid/rest/applications/queries/GeoPagingTest.java
+++ b/stack/rest/src/test/java/org/apache/usergrid/rest/applications/queries/GeoPagingTest.java
@@ -93,7 +93,8 @@ public class GeoPagingTest extends AbstractRestIT {
     this.refreshIndex();
     // 2. Query the groups from a nearby location, restricting the search
     //    by creation time to a single entity where created[i-1] < created[i] < created[i+1]
-    String query = "select * where location within 20000 of 37.0,-75.0 "
+      //since this geo location is contained by an actor it needs to be actor.location.
+    String query = "select * where actor.location within 20000 of 37.0,-75.0 "
         + " and created > " + (index[0])
         + " and created < " + (index[2])
         + " order by created";


Mime
View raw message