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/USERGRID-909 Commit: 9ada6ea3732a3bfb72cc6a48d12353d0ac832ce6 Parents: b816a18 Author: Dave Johnson <snoopd...@apache.org> Authored: Fri Oct 30 08:30:18 2015 -0400 Committer: Dave Johnson <snoopd...@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