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 2014/09/23 13:14:06 UTC

git commit: Add geo-location to test user to make this more like the failure we observed in a test cluster.

Repository: incubator-usergrid
Updated Branches:
  refs/heads/two-dot-o a326816a3 -> 6ca3bf3e7


Add geo-location to test user to make this more like the failure we observed in a test cluster.


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

Branch: refs/heads/two-dot-o
Commit: 6ca3bf3e71a40ca48038fa5a1e9c00cdde8c2350
Parents: a326816
Author: Dave Johnson <dm...@apigee.com>
Authored: Tue Sep 23 07:13:47 2014 -0400
Committer: Dave Johnson <dm...@apigee.com>
Committed: Tue Sep 23 07:13:47 2014 -0400

----------------------------------------------------------------------
 .../test/java/org/apache/usergrid/rest/PartialUpdateTest.java    | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/6ca3bf3e/stack/rest/src/test/java/org/apache/usergrid/rest/PartialUpdateTest.java
----------------------------------------------------------------------
diff --git a/stack/rest/src/test/java/org/apache/usergrid/rest/PartialUpdateTest.java b/stack/rest/src/test/java/org/apache/usergrid/rest/PartialUpdateTest.java
index 7e6e364..d685811 100644
--- a/stack/rest/src/test/java/org/apache/usergrid/rest/PartialUpdateTest.java
+++ b/stack/rest/src/test/java/org/apache/usergrid/rest/PartialUpdateTest.java
@@ -50,6 +50,10 @@ public class PartialUpdateTest extends AbstractRestIT {
             put( "username", "bart" );
             put( "employer", "Brawndo" );
             put( "email", "bart@personal-email.example.com" );
+            put( "location", new LinkedHashMap<String, Object>() {{
+                put("latitude", "37.3638875323994");
+                put("longitude", "-122.12334411518498");
+            }} );
         }};
 
         JsonNode userNode = mapper.readTree(