{"action":"created","comment":{"url":"https://api.github.com/repos/ros/ros_comm/pulls/comments/30131182","id":30131182,"diff_hunk":"@@ -98,6 +98,10 @@ def rostestmain():\n     parser.add_option(\"--results-base-dir\", metavar=\"RESULTS_BASE_DIR\",\n                       help=\"The base directory of the test results. The test result file is \" +\n                            \"created in a subfolder name PKG_DIR.\")\n+    parser.add_option(\"--port\", metavar=\"PORT\",\n+                      help=\"default: random unused port number. Note that specifyin this \" +\n+                           \"currently only works with a single test case. See \" +\n+                           \"https://github.com/ros/ros_comm/pull/614\")","path":"tools/rostest/src/rostest/rostest_main.py","position":7,"original_position":7,"commit_id":"1798d2a2877664d7226d8ec7ab61a3e8ca403785","original_commit_id":"1798d2a2877664d7226d8ec7ab61a3e8ca403785","user":{"login":"dirk-thomas","id":1335366,"avatar_url":"https://avatars.githubusercontent.com/u/1335366?v=3","gravatar_id":"","url":"https://api.github.com/users/dirk-thomas","html_url":"https://github.com/dirk-thomas","followers_url":"https://api.github.com/users/dirk-thomas/followers","following_url":"https://api.github.com/users/dirk-thomas/following{/other_user}","gists_url":"https://api.github.com/users/dirk-thomas/gists{/gist_id}","starred_url":"https://api.github.com/users/dirk-thomas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dirk-thomas/subscriptions","organizations_url":"https://api.github.com/users/dirk-thomas/orgs","repos_url":"https://api.github.com/users/dirk-thomas/repos","events_url":"https://api.github.com/users/dirk-thomas/events{/privacy}","received_events_url":"https://api.github.com/users/dirk-thomas/received_events","type":"User","site_admin":false},"body":"That's why I suggested the following more concise help text before:\r\n\r\n    ROS Master port number (default: random unused port)","created_at":"2015-05-12T13:09:55Z","updated_at":"2015-05-12T13:09:55Z","html_url":"https://github.com/ros/ros_comm/pull/614#discussion_r30131182","pull_request_url":"https://api.github.com/repos/ros/ros_comm/pulls/614","_links":{"self":{"href":"https://api.github.com/repos/ros/ros_comm/pulls/comments/30131182"},"html":{"href":"https://github.com/ros/ros_comm/pull/614#discussion_r30131182"},"pull_request":{"href":"https://api.github.com/repos/ros/ros_comm/pulls/614"}}},"pull_request":{"url":"https://api.github.com/repos/ros/ros_comm/pulls/614","id":34623895,"html_url":"https://github.com/ros/ros_comm/pull/614","diff_url":"https://github.com/ros/ros_comm/pull/614.diff","patch_url":"https://github.com/ros/ros_comm/pull/614.patch","issue_url":"https://api.github.com/repos/ros/ros_comm/issues/614","number":614,"state":"open","locked":false,"title":"Arg port number for rostest","user":{"login":"130s","id":1840401,"avatar_url":"https://avatars.githubusercontent.com/u/1840401?v=3","gravatar_id":"","url":"https://api.github.com/users/130s","html_url":"https://github.com/130s","followers_url":"https://api.github.com/users/130s/followers","following_url":"https://api.github.com/users/130s/following{/other_user}","gists_url":"https://api.github.com/users/130s/gists{/gist_id}","starred_url":"https://api.github.com/users/130s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/130s/subscriptions","organizations_url":"https://api.github.com/users/130s/orgs","repos_url":"https://api.github.com/users/130s/repos","events_url":"https://api.github.com/users/130s/events{/privacy}","received_events_url":"https://api.github.com/users/130s/received_events","type":"User","site_admin":false},"body":"Mentioned in http://answers.ros.org/question/208361/port-to-connect-to-rostest-rosmaster-after-indigo/?answer=208387#post-id-208387\r\n\r\nWith this PR, you can specify the port number of the `rostest`. E.g.,\r\n```\r\nterm-1$ rostest leap_motion test_leap_motion.test --port 22423\r\n\r\nterm-2$ ROS_MASTER_URI=http://tork-kudu1:22423 rosparam get /sender_freq/freq\r\n0.1\r\n```\r\n\r\nDrawback:\r\n- Apparently this only works with a single test case. So I don't know if we want to merge this as it is. \r\n- I've tried to add test files for this too which I couldn't get working.","created_at":"2015-05-04T09:09:51Z","updated_at":"2015-05-12T13:09:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"43265e355453db05c5b3da7745a188c04d16e116","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ros/ros_comm/pulls/614/commits","review_comments_url":"https://api.github.com/repos/ros/ros_comm/pulls/614/comments","review_comment_url":"https://api.github.com/repos/ros/ros_comm/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ros/ros_comm/issues/614/comments","statuses_url":"https://api.github.com/repos/ros/ros_comm/statuses/1798d2a2877664d7226d8ec7ab61a3e8ca403785","head":{"label":"130s:impr/rostest_port_explicit","ref":"impr/rostest_port_explicit","sha":"1798d2a2877664d7226d8ec7ab61a3e8ca403785","user":{"login":"130s","id":1840401,"avatar_url":"https://avatars.githubusercontent.com/u/1840401?v=3","gravatar_id":"","url":"https://api.github.com/users/130s","html_url":"https://github.com/130s","followers_url":"https://api.github.com/users/130s/followers","following_url":"https://api.github.com/users/130s/following{/other_user}","gists_url":"https://api.github.com/users/130s/gists{/gist_id}","starred_url":"https://api.github.com/users/130s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/130s/subscriptions","organizations_url":"https://api.github.com/users/130s/orgs","repos_url":"https://api.github.com/users/130s/repos","events_url":"https://api.github.com/users/130s/events{/privacy}","received_events_url":"https://api.github.com/users/130s/received_events","type":"User","site_admin":false},"repo":{"id":10925584,"name":"ros_comm","full_name":"130s/ros_comm","owner":{"login":"130s","id":1840401,"avatar_url":"https://avatars.githubusercontent.com/u/1840401?v=3","gravatar_id":"","url":"https://api.github.com/users/130s","html_url":"https://github.com/130s","followers_url":"https://api.github.com/users/130s/followers","following_url":"https://api.github.com/users/130s/following{/other_user}","gists_url":"https://api.github.com/users/130s/gists{/gist_id}","starred_url":"https://api.github.com/users/130s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/130s/subscriptions","organizations_url":"https://api.github.com/users/130s/orgs","repos_url":"https://api.github.com/users/130s/repos","events_url":"https://api.github.com/users/130s/events{/privacy}","received_events_url":"https://api.github.com/users/130s/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/130s/ros_comm","description":"ROS communications-related packages, including core client libraries (roscpp, rospy, roslisp) and graph introspection tools (rostopic, rosnode, rosservice, rosparam).","fork":true,"url":"https://api.github.com/repos/130s/ros_comm","forks_url":"https://api.github.com/repos/130s/ros_comm/forks","keys_url":"https://api.github.com/repos/130s/ros_comm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/130s/ros_comm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/130s/ros_comm/teams","hooks_url":"https://api.github.com/repos/130s/ros_comm/hooks","issue_events_url":"https://api.github.com/repos/130s/ros_comm/issues/events{/number}","events_url":"https://api.github.com/repos/130s/ros_comm/events","assignees_url":"https://api.github.com/repos/130s/ros_comm/assignees{/user}","branches_url":"https://api.github.com/repos/130s/ros_comm/branches{/branch}","tags_url":"https://api.github.com/repos/130s/ros_comm/tags","blobs_url":"https://api.github.com/repos/130s/ros_comm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/130s/ros_comm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/130s/ros_comm/git/refs{/sha}","trees_url":"https://api.github.com/repos/130s/ros_comm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/130s/ros_comm/statuses/{sha}","languages_url":"https://api.github.com/repos/130s/ros_comm/languages","stargazers_url":"https://api.github.com/repos/130s/ros_comm/stargazers","contributors_url":"https://api.github.com/repos/130s/ros_comm/contributors","subscribers_url":"https://api.github.com/repos/130s/ros_comm/subscribers","subscription_url":"https://api.github.com/repos/130s/ros_comm/subscription","commits_url":"https://api.github.com/repos/130s/ros_comm/commits{/sha}","git_commits_url":"https://api.github.com/repos/130s/ros_comm/git/commits{/sha}","comments_url":"https://api.github.com/repos/130s/ros_comm/comments{/number}","issue_comment_url":"https://api.github.com/repos/130s/ros_comm/issues/comments{/number}","contents_url":"https://api.github.com/repos/130s/ros_comm/contents/{+path}","compare_url":"https://api.github.com/repos/130s/ros_comm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/130s/ros_comm/merges","archive_url":"https://api.github.com/repos/130s/ros_comm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/130s/ros_comm/downloads","issues_url":"https://api.github.com/repos/130s/ros_comm/issues{/number}","pulls_url":"https://api.github.com/repos/130s/ros_comm/pulls{/number}","milestones_url":"https://api.github.com/repos/130s/ros_comm/milestones{/number}","notifications_url":"https://api.github.com/repos/130s/ros_comm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/130s/ros_comm/labels{/name}","releases_url":"https://api.github.com/repos/130s/ros_comm/releases{/id}","created_at":"2013-06-25T02:00:12Z","updated_at":"2014-02-12T23:09:58Z","pushed_at":"2015-05-12T06:18:12Z","git_url":"git://github.com/130s/ros_comm.git","ssh_url":"git@github.com:130s/ros_comm.git","clone_url":"https://github.com/130s/ros_comm.git","svn_url":"https://github.com/130s/ros_comm","homepage":"http://www.ros.org/wiki/ros_comm","size":6680,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"groovy-devel"}},"base":{"label":"ros:indigo-devel","ref":"indigo-devel","sha":"ace5b9c11af766564441bad2cb08f5fca5b73784","user":{"login":"ros","id":547448,"avatar_url":"https://avatars.githubusercontent.com/u/547448?v=3","gravatar_id":"","url":"https://api.github.com/users/ros","html_url":"https://github.com/ros","followers_url":"https://api.github.com/users/ros/followers","following_url":"https://api.github.com/users/ros/following{/other_user}","gists_url":"https://api.github.com/users/ros/gists{/gist_id}","starred_url":"https://api.github.com/users/ros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ros/subscriptions","organizations_url":"https://api.github.com/users/ros/orgs","repos_url":"https://api.github.com/users/ros/repos","events_url":"https://api.github.com/users/ros/events{/privacy}","received_events_url":"https://api.github.com/users/ros/received_events","type":"Organization","site_admin":false},"repo":{"id":5474834,"name":"ros_comm","full_name":"ros/ros_comm","owner":{"login":"ros","id":547448,"avatar_url":"https://avatars.githubusercontent.com/u/547448?v=3","gravatar_id":"","url":"https://api.github.com/users/ros","html_url":"https://github.com/ros","followers_url":"https://api.github.com/users/ros/followers","following_url":"https://api.github.com/users/ros/following{/other_user}","gists_url":"https://api.github.com/users/ros/gists{/gist_id}","starred_url":"https://api.github.com/users/ros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ros/subscriptions","organizations_url":"https://api.github.com/users/ros/orgs","repos_url":"https://api.github.com/users/ros/repos","events_url":"https://api.github.com/users/ros/events{/privacy}","received_events_url":"https://api.github.com/users/ros/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ros/ros_comm","description":"ROS communications-related packages, including core client libraries (roscpp, rospy, roslisp) and graph introspection tools (rostopic, rosnode, rosservice, rosparam).","fork":false,"url":"https://api.github.com/repos/ros/ros_comm","forks_url":"https://api.github.com/repos/ros/ros_comm/forks","keys_url":"https://api.github.com/repos/ros/ros_comm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ros/ros_comm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ros/ros_comm/teams","hooks_url":"https://api.github.com/repos/ros/ros_comm/hooks","issue_events_url":"https://api.github.com/repos/ros/ros_comm/issues/events{/number}","events_url":"https://api.github.com/repos/ros/ros_comm/events","assignees_url":"https://api.github.com/repos/ros/ros_comm/assignees{/user}","branches_url":"https://api.github.com/repos/ros/ros_comm/branches{/branch}","tags_url":"https://api.github.com/repos/ros/ros_comm/tags","blobs_url":"https://api.github.com/repos/ros/ros_comm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ros/ros_comm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ros/ros_comm/git/refs{/sha}","trees_url":"https://api.github.com/repos/ros/ros_comm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ros/ros_comm/statuses/{sha}","languages_url":"https://api.github.com/repos/ros/ros_comm/languages","stargazers_url":"https://api.github.com/repos/ros/ros_comm/stargazers","contributors_url":"https://api.github.com/repos/ros/ros_comm/contributors","subscribers_url":"https://api.github.com/repos/ros/ros_comm/subscribers","subscription_url":"https://api.github.com/repos/ros/ros_comm/subscription","commits_url":"https://api.github.com/repos/ros/ros_comm/commits{/sha}","git_commits_url":"https://api.github.com/repos/ros/ros_comm/git/commits{/sha}","comments_url":"https://api.github.com/repos/ros/ros_comm/comments{/number}","issue_comment_url":"https://api.github.com/repos/ros/ros_comm/issues/comments{/number}","contents_url":"https://api.github.com/repos/ros/ros_comm/contents/{+path}","compare_url":"https://api.github.com/repos/ros/ros_comm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ros/ros_comm/merges","archive_url":"https://api.github.com/repos/ros/ros_comm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ros/ros_comm/downloads","issues_url":"https://api.github.com/repos/ros/ros_comm/issues{/number}","pulls_url":"https://api.github.com/repos/ros/ros_comm/pulls{/number}","milestones_url":"https://api.github.com/repos/ros/ros_comm/milestones{/number}","notifications_url":"https://api.github.com/repos/ros/ros_comm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ros/ros_comm/labels{/name}","releases_url":"https://api.github.com/repos/ros/ros_comm/releases{/id}","created_at":"2012-08-19T22:26:34Z","updated_at":"2015-05-12T09:36:36Z","pushed_at":"2015-05-12T06:18:12Z","git_url":"git://github.com/ros/ros_comm.git","ssh_url":"git@github.com:ros/ros_comm.git","clone_url":"https://github.com/ros/ros_comm.git","svn_url":"https://github.com/ros/ros_comm","homepage":"http://wiki.ros.org/ros_comm","size":27597,"stargazers_count":41,"watchers_count":41,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":151,"mirror_url":null,"open_issues_count":138,"forks":151,"open_issues":138,"watchers":41,"default_branch":"indigo-devel"}},"_links":{"self":{"href":"https://api.github.com/repos/ros/ros_comm/pulls/614"},"html":{"href":"https://github.com/ros/ros_comm/pull/614"},"issue":{"href":"https://api.github.com/repos/ros/ros_comm/issues/614"},"comments":{"href":"https://api.github.com/repos/ros/ros_comm/issues/614/comments"},"review_comments":{"href":"https://api.github.com/repos/ros/ros_comm/pulls/614/comments"},"review_comment":{"href":"https://api.github.com/repos/ros/ros_comm/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ros/ros_comm/pulls/614/commits"},"statuses":{"href":"https://api.github.com/repos/ros/ros_comm/statuses/1798d2a2877664d7226d8ec7ab61a3e8ca403785"}}}}