{"action":"created","comment":{"url":"https://api.github.com/repos/maidsafe/safe_vault/pulls/comments/37859935","id":37859935,"diff_hunk":"@@ -618,30 +631,48 @@ pub type ResponseNotifier =\n         }\n     }\n \n+    #[cfg(feature = \"use-actual-routing\")]\n+    #[test]\n+    fn network_post_test() {\n+        let (mut client_routing, client_receiver, client_name) = network_env_setup();\n+\n+        let name = ::routing::NameType(::routing::types::vector_as_u8_64_array(\n+            ::routing::types::generate_random_vec_u8(64)));\n+        let value = ::routing::types::generate_random_vec_u8(1024);\n+        let sign_keys =  ::sodiumoxide::crypto::sign::gen_keypair();\n+        let sd = ::routing::structured_data::StructuredData::new(0, name, 0,\n+            value.clone(), vec![sign_keys.0], vec![], Some(&sign_keys.1)).ok().unwrap();\n+        client_routing.put_request(::routing::authority::Authority::ClientManager(client_name),\n+                                   ::routing::data::Data::StructuredData(sd.clone()));\n+        ::std::thread::sleep_ms(2000);","path":"src/vault.rs","position":153,"original_position":153,"commit_id":"1993b86facf0d34cef52fda5ff4f2667f0189e04","original_commit_id":"1993b86facf0d34cef52fda5ff4f2667f0189e04","user":{"login":"Fraser999","id":190532,"avatar_url":"https://avatars.githubusercontent.com/u/190532?v=3","gravatar_id":"","url":"https://api.github.com/users/Fraser999","html_url":"https://github.com/Fraser999","followers_url":"https://api.github.com/users/Fraser999/followers","following_url":"https://api.github.com/users/Fraser999/following{/other_user}","gists_url":"https://api.github.com/users/Fraser999/gists{/gist_id}","starred_url":"https://api.github.com/users/Fraser999/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fraser999/subscriptions","organizations_url":"https://api.github.com/users/Fraser999/orgs","repos_url":"https://api.github.com/users/Fraser999/repos","events_url":"https://api.github.com/users/Fraser999/events{/privacy}","received_events_url":"https://api.github.com/users/Fraser999/received_events","type":"User","site_admin":false},"body":"Is there a way to avoid this sleep and the subsequent one?","created_at":"2015-08-25T12:43:01Z","updated_at":"2015-08-25T12:43:01Z","html_url":"https://github.com/maidsafe/safe_vault/pull/206#discussion_r37859935","pull_request_url":"https://api.github.com/repos/maidsafe/safe_vault/pulls/206","_links":{"self":{"href":"https://api.github.com/repos/maidsafe/safe_vault/pulls/comments/37859935"},"html":{"href":"https://github.com/maidsafe/safe_vault/pull/206#discussion_r37859935"},"pull_request":{"href":"https://api.github.com/repos/maidsafe/safe_vault/pulls/206"}}},"pull_request":{"url":"https://api.github.com/repos/maidsafe/safe_vault/pulls/206","id":43263130,"html_url":"https://github.com/maidsafe/safe_vault/pull/206","diff_url":"https://github.com/maidsafe/safe_vault/pull/206.diff","patch_url":"https://github.com/maidsafe/safe_vault/pull/206.patch","issue_url":"https://api.github.com/repos/maidsafe/safe_vault/issues/206","number":206,"state":"open","locked":false,"title":"minor updates","user":{"login":"maqi","id":568777,"avatar_url":"https://avatars.githubusercontent.com/u/568777?v=3","gravatar_id":"","url":"https://api.github.com/users/maqi","html_url":"https://github.com/maqi","followers_url":"https://api.github.com/users/maqi/followers","following_url":"https://api.github.com/users/maqi/following{/other_user}","gists_url":"https://api.github.com/users/maqi/gists{/gist_id}","starred_url":"https://api.github.com/users/maqi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maqi/subscriptions","organizations_url":"https://api.github.com/users/maqi/orgs","repos_url":"https://api.github.com/users/maqi/repos","events_url":"https://api.github.com/users/maqi/events{/privacy}","received_events_url":"https://api.github.com/users/maqi/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-08-25T08:46:52Z","updated_at":"2015-08-25T12:43:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"075641d64f1e1ed09cd1d940c4c06531e1ab11fb","assignee":{"login":"Fraser999","id":190532,"avatar_url":"https://avatars.githubusercontent.com/u/190532?v=3","gravatar_id":"","url":"https://api.github.com/users/Fraser999","html_url":"https://github.com/Fraser999","followers_url":"https://api.github.com/users/Fraser999/followers","following_url":"https://api.github.com/users/Fraser999/following{/other_user}","gists_url":"https://api.github.com/users/Fraser999/gists{/gist_id}","starred_url":"https://api.github.com/users/Fraser999/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fraser999/subscriptions","organizations_url":"https://api.github.com/users/Fraser999/orgs","repos_url":"https://api.github.com/users/Fraser999/repos","events_url":"https://api.github.com/users/Fraser999/events{/privacy}","received_events_url":"https://api.github.com/users/Fraser999/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/maidsafe/safe_vault/pulls/206/commits","review_comments_url":"https://api.github.com/repos/maidsafe/safe_vault/pulls/206/comments","review_comment_url":"https://api.github.com/repos/maidsafe/safe_vault/pulls/comments{/number}","comments_url":"https://api.github.com/repos/maidsafe/safe_vault/issues/206/comments","statuses_url":"https://api.github.com/repos/maidsafe/safe_vault/statuses/1993b86facf0d34cef52fda5ff4f2667f0189e04","head":{"label":"maqi:routing_new_updates","ref":"routing_new_updates","sha":"1993b86facf0d34cef52fda5ff4f2667f0189e04","user":{"login":"maqi","id":568777,"avatar_url":"https://avatars.githubusercontent.com/u/568777?v=3","gravatar_id":"","url":"https://api.github.com/users/maqi","html_url":"https://github.com/maqi","followers_url":"https://api.github.com/users/maqi/followers","following_url":"https://api.github.com/users/maqi/following{/other_user}","gists_url":"https://api.github.com/users/maqi/gists{/gist_id}","starred_url":"https://api.github.com/users/maqi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maqi/subscriptions","organizations_url":"https://api.github.com/users/maqi/orgs","repos_url":"https://api.github.com/users/maqi/repos","events_url":"https://api.github.com/users/maqi/events{/privacy}","received_events_url":"https://api.github.com/users/maqi/received_events","type":"User","site_admin":false},"repo":{"id":32813562,"name":"maidsafe_vault","full_name":"maqi/maidsafe_vault","owner":{"login":"maqi","id":568777,"avatar_url":"https://avatars.githubusercontent.com/u/568777?v=3","gravatar_id":"","url":"https://api.github.com/users/maqi","html_url":"https://github.com/maqi","followers_url":"https://api.github.com/users/maqi/followers","following_url":"https://api.github.com/users/maqi/following{/other_user}","gists_url":"https://api.github.com/users/maqi/gists{/gist_id}","starred_url":"https://api.github.com/users/maqi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maqi/subscriptions","organizations_url":"https://api.github.com/users/maqi/orgs","repos_url":"https://api.github.com/users/maqi/repos","events_url":"https://api.github.com/users/maqi/events{/privacy}","received_events_url":"https://api.github.com/users/maqi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/maqi/maidsafe_vault","description":"The Ants are coming!!","fork":true,"url":"https://api.github.com/repos/maqi/maidsafe_vault","forks_url":"https://api.github.com/repos/maqi/maidsafe_vault/forks","keys_url":"https://api.github.com/repos/maqi/maidsafe_vault/keys{/key_id}","collaborators_url":"https://api.github.com/repos/maqi/maidsafe_vault/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/maqi/maidsafe_vault/teams","hooks_url":"https://api.github.com/repos/maqi/maidsafe_vault/hooks","issue_events_url":"https://api.github.com/repos/maqi/maidsafe_vault/issues/events{/number}","events_url":"https://api.github.com/repos/maqi/maidsafe_vault/events","assignees_url":"https://api.github.com/repos/maqi/maidsafe_vault/assignees{/user}","branches_url":"https://api.github.com/repos/maqi/maidsafe_vault/branches{/branch}","tags_url":"https://api.github.com/repos/maqi/maidsafe_vault/tags","blobs_url":"https://api.github.com/repos/maqi/maidsafe_vault/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/maqi/maidsafe_vault/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/maqi/maidsafe_vault/git/refs{/sha}","trees_url":"https://api.github.com/repos/maqi/maidsafe_vault/git/trees{/sha}","statuses_url":"https://api.github.com/repos/maqi/maidsafe_vault/statuses/{sha}","languages_url":"https://api.github.com/repos/maqi/maidsafe_vault/languages","stargazers_url":"https://api.github.com/repos/maqi/maidsafe_vault/stargazers","contributors_url":"https://api.github.com/repos/maqi/maidsafe_vault/contributors","subscribers_url":"https://api.github.com/repos/maqi/maidsafe_vault/subscribers","subscription_url":"https://api.github.com/repos/maqi/maidsafe_vault/subscription","commits_url":"https://api.github.com/repos/maqi/maidsafe_vault/commits{/sha}","git_commits_url":"https://api.github.com/repos/maqi/maidsafe_vault/git/commits{/sha}","comments_url":"https://api.github.com/repos/maqi/maidsafe_vault/comments{/number}","issue_comment_url":"https://api.github.com/repos/maqi/maidsafe_vault/issues/comments{/number}","contents_url":"https://api.github.com/repos/maqi/maidsafe_vault/contents/{+path}","compare_url":"https://api.github.com/repos/maqi/maidsafe_vault/compare/{base}...{head}","merges_url":"https://api.github.com/repos/maqi/maidsafe_vault/merges","archive_url":"https://api.github.com/repos/maqi/maidsafe_vault/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/maqi/maidsafe_vault/downloads","issues_url":"https://api.github.com/repos/maqi/maidsafe_vault/issues{/number}","pulls_url":"https://api.github.com/repos/maqi/maidsafe_vault/pulls{/number}","milestones_url":"https://api.github.com/repos/maqi/maidsafe_vault/milestones{/number}","notifications_url":"https://api.github.com/repos/maqi/maidsafe_vault/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/maqi/maidsafe_vault/labels{/name}","releases_url":"https://api.github.com/repos/maqi/maidsafe_vault/releases{/id}","created_at":"2015-03-24T17:21:01Z","updated_at":"2015-03-24T17:21:01Z","pushed_at":"2015-08-25T12:08:30Z","git_url":"git://github.com/maqi/maidsafe_vault.git","ssh_url":"git@github.com:maqi/maidsafe_vault.git","clone_url":"https://github.com/maqi/maidsafe_vault.git","svn_url":"https://github.com/maqi/maidsafe_vault","homepage":null,"size":2029,"stargazers_count":0,"watchers_count":0,"language":"Rust","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"maidsafe:master","ref":"master","sha":"693ba1a24103b99deb13425e31d2708e76823d2f","user":{"login":"maidsafe","id":536423,"avatar_url":"https://avatars.githubusercontent.com/u/536423?v=3","gravatar_id":"","url":"https://api.github.com/users/maidsafe","html_url":"https://github.com/maidsafe","followers_url":"https://api.github.com/users/maidsafe/followers","following_url":"https://api.github.com/users/maidsafe/following{/other_user}","gists_url":"https://api.github.com/users/maidsafe/gists{/gist_id}","starred_url":"https://api.github.com/users/maidsafe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maidsafe/subscriptions","organizations_url":"https://api.github.com/users/maidsafe/orgs","repos_url":"https://api.github.com/users/maidsafe/repos","events_url":"https://api.github.com/users/maidsafe/events{/privacy}","received_events_url":"https://api.github.com/users/maidsafe/received_events","type":"Organization","site_admin":false},"repo":{"id":32022044,"name":"safe_vault","full_name":"maidsafe/safe_vault","owner":{"login":"maidsafe","id":536423,"avatar_url":"https://avatars.githubusercontent.com/u/536423?v=3","gravatar_id":"","url":"https://api.github.com/users/maidsafe","html_url":"https://github.com/maidsafe","followers_url":"https://api.github.com/users/maidsafe/followers","following_url":"https://api.github.com/users/maidsafe/following{/other_user}","gists_url":"https://api.github.com/users/maidsafe/gists{/gist_id}","starred_url":"https://api.github.com/users/maidsafe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maidsafe/subscriptions","organizations_url":"https://api.github.com/users/maidsafe/orgs","repos_url":"https://api.github.com/users/maidsafe/repos","events_url":"https://api.github.com/users/maidsafe/events{/privacy}","received_events_url":"https://api.github.com/users/maidsafe/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/maidsafe/safe_vault","description":"The Ants are coming!!","fork":false,"url":"https://api.github.com/repos/maidsafe/safe_vault","forks_url":"https://api.github.com/repos/maidsafe/safe_vault/forks","keys_url":"https://api.github.com/repos/maidsafe/safe_vault/keys{/key_id}","collaborators_url":"https://api.github.com/repos/maidsafe/safe_vault/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/maidsafe/safe_vault/teams","hooks_url":"https://api.github.com/repos/maidsafe/safe_vault/hooks","issue_events_url":"https://api.github.com/repos/maidsafe/safe_vault/issues/events{/number}","events_url":"https://api.github.com/repos/maidsafe/safe_vault/events","assignees_url":"https://api.github.com/repos/maidsafe/safe_vault/assignees{/user}","branches_url":"https://api.github.com/repos/maidsafe/safe_vault/branches{/branch}","tags_url":"https://api.github.com/repos/maidsafe/safe_vault/tags","blobs_url":"https://api.github.com/repos/maidsafe/safe_vault/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/maidsafe/safe_vault/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/maidsafe/safe_vault/git/refs{/sha}","trees_url":"https://api.github.com/repos/maidsafe/safe_vault/git/trees{/sha}","statuses_url":"https://api.github.com/repos/maidsafe/safe_vault/statuses/{sha}","languages_url":"https://api.github.com/repos/maidsafe/safe_vault/languages","stargazers_url":"https://api.github.com/repos/maidsafe/safe_vault/stargazers","contributors_url":"https://api.github.com/repos/maidsafe/safe_vault/contributors","subscribers_url":"https://api.github.com/repos/maidsafe/safe_vault/subscribers","subscription_url":"https://api.github.com/repos/maidsafe/safe_vault/subscription","commits_url":"https://api.github.com/repos/maidsafe/safe_vault/commits{/sha}","git_commits_url":"https://api.github.com/repos/maidsafe/safe_vault/git/commits{/sha}","comments_url":"https://api.github.com/repos/maidsafe/safe_vault/comments{/number}","issue_comment_url":"https://api.github.com/repos/maidsafe/safe_vault/issues/comments{/number}","contents_url":"https://api.github.com/repos/maidsafe/safe_vault/contents/{+path}","compare_url":"https://api.github.com/repos/maidsafe/safe_vault/compare/{base}...{head}","merges_url":"https://api.github.com/repos/maidsafe/safe_vault/merges","archive_url":"https://api.github.com/repos/maidsafe/safe_vault/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/maidsafe/safe_vault/downloads","issues_url":"https://api.github.com/repos/maidsafe/safe_vault/issues{/number}","pulls_url":"https://api.github.com/repos/maidsafe/safe_vault/pulls{/number}","milestones_url":"https://api.github.com/repos/maidsafe/safe_vault/milestones{/number}","notifications_url":"https://api.github.com/repos/maidsafe/safe_vault/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/maidsafe/safe_vault/labels{/name}","releases_url":"https://api.github.com/repos/maidsafe/safe_vault/releases{/id}","created_at":"2015-03-11T14:27:31Z","updated_at":"2015-08-16T23:18:36Z","pushed_at":"2015-08-25T12:08:32Z","git_url":"git://github.com/maidsafe/safe_vault.git","ssh_url":"git@github.com:maidsafe/safe_vault.git","clone_url":"https://github.com/maidsafe/safe_vault.git","svn_url":"https://github.com/maidsafe/safe_vault","homepage":null,"size":8975,"stargazers_count":16,"watchers_count":16,"language":"Rust","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":21,"mirror_url":null,"open_issues_count":5,"forks":21,"open_issues":5,"watchers":16,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/maidsafe/safe_vault/pulls/206"},"html":{"href":"https://github.com/maidsafe/safe_vault/pull/206"},"issue":{"href":"https://api.github.com/repos/maidsafe/safe_vault/issues/206"},"comments":{"href":"https://api.github.com/repos/maidsafe/safe_vault/issues/206/comments"},"review_comments":{"href":"https://api.github.com/repos/maidsafe/safe_vault/pulls/206/comments"},"review_comment":{"href":"https://api.github.com/repos/maidsafe/safe_vault/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/maidsafe/safe_vault/pulls/206/commits"},"statuses":{"href":"https://api.github.com/repos/maidsafe/safe_vault/statuses/1993b86facf0d34cef52fda5ff4f2667f0189e04"}}}}