You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@usergrid.apache.org by mr...@apache.org on 2015/10/30 20:34:21 UTC

[07/10] usergrid git commit: Add dup edges so we exercise the dedup logic.

Add dup edges so we exercise the dedup logic.


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

Branch: refs/heads/2.1-release
Commit: 9ada6ea3732a3bfb72cc6a48d12353d0ac832ce6
Parents: b816a18
Author: Dave Johnson <sn...@apache.org>
Authored: Fri Oct 30 08:30:18 2015 -0400
Committer: Dave Johnson <sn...@apache.org>
Committed: Fri Oct 30 08:30:18 2015 -0400

----------------------------------------------------------------------
 stack/scripts/create_test_data.py | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/usergrid/blob/9ada6ea3/stack/scripts/create_test_data.py
----------------------------------------------------------------------
diff --git a/stack/scripts/create_test_data.py b/stack/scripts/create_test_data.py
index ef07254..3a913ca 100644
--- a/stack/scripts/create_test_data.py
+++ b/stack/scripts/create_test_data.py
@@ -155,6 +155,8 @@ class Creator:
                     targetType = appName + "_col1"
                     url = appUrl + "/" + sourceCollection + "/" + sourceName + "/has/" + targetType + "/" + targetName
                     r = requests.post(url=url + "?access_token=" + accessToken)
+                    r = requests.post(url=url + "?access_token=" + accessToken)
+                    r = requests.post(url=url + "?access_token=" + accessToken)
                     if ( r.status_code >= 400 ):
                         print "Error connecting entity " + sourceName + " to " + targetName + ": " + r.text
                         print "url is: " + url
@@ -168,6 +170,8 @@ class Creator:
                     targetType = appName + "_col2"
                     url = appUrl + "/" + sourceCollection + "/" + sourceName + "/has/" + targetType + "/" + targetName
                     r = requests.post(url=url + "?access_token=" + accessToken)
+                    r = requests.post(url=url + "?access_token=" + accessToken)
+                    r = requests.post(url=url + "?access_token=" + accessToken)
                     if ( r.status_code >= 400 ):
                         print "Error connecting entity " + sourceName + " to " + targetName + ": " + r.text
                         print "url is: " + url