{"action":"created","comment":{"url":"https://api.github.com/repos/apache/couchdb-couch/pulls/comments/41762111","id":41762111,"diff_hunk":"@@ -286,7 +286,13 @@ couchdb_1309(DbName) ->\n         ?assert(is_pid(NewIndexerPid)),\n         ?assert(is_process_alive(NewIndexerPid)),\n         ?assertNotEqual(IndexerPid, NewIndexerPid),\n-        ?assertEqual(2, count_users(DbName)),\n+        UserCnt = case count_users(DbName) of","path":"test/couchdb_views_tests.erl","position":5,"original_position":5,"commit_id":"fd47c1cf5247e158aa3c38a9cf88eb8bb4bd7d78","original_commit_id":"fd47c1cf5247e158aa3c38a9cf88eb8bb4bd7d78","user":{"login":"kxepal","id":785983,"avatar_url":"https://avatars.githubusercontent.com/u/785983?v=3","gravatar_id":"","url":"https://api.github.com/users/kxepal","html_url":"https://github.com/kxepal","followers_url":"https://api.github.com/users/kxepal/followers","following_url":"https://api.github.com/users/kxepal/following{/other_user}","gists_url":"https://api.github.com/users/kxepal/gists{/gist_id}","starred_url":"https://api.github.com/users/kxepal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kxepal/subscriptions","organizations_url":"https://api.github.com/users/kxepal/orgs","repos_url":"https://api.github.com/users/kxepal/repos","events_url":"https://api.github.com/users/kxepal/events{/privacy}","received_events_url":"https://api.github.com/users/kxepal/received_events","type":"User","site_admin":false},"body":"I think it's a good candidate for some ?RETRY N times macro. Which will be useful not only here.","created_at":"2015-10-12T14:32:23Z","updated_at":"2015-10-12T14:32:23Z","html_url":"https://github.com/apache/couchdb-couch/pull/118#discussion_r41762111","pull_request_url":"https://api.github.com/repos/apache/couchdb-couch/pulls/118","_links":{"self":{"href":"https://api.github.com/repos/apache/couchdb-couch/pulls/comments/41762111"},"html":{"href":"https://github.com/apache/couchdb-couch/pull/118#discussion_r41762111"},"pull_request":{"href":"https://api.github.com/repos/apache/couchdb-couch/pulls/118"}}},"pull_request":{"url":"https://api.github.com/repos/apache/couchdb-couch/pulls/118","id":47423933,"html_url":"https://github.com/apache/couchdb-couch/pull/118","diff_url":"https://github.com/apache/couchdb-couch/pull/118.diff","patch_url":"https://github.com/apache/couchdb-couch/pull/118.patch","issue_url":"https://api.github.com/repos/apache/couchdb-couch/issues/118","number":118,"state":"open","locked":false,"title":"Increase EUnit views tests stability","user":{"login":"nickva","id":211822,"avatar_url":"https://avatars.githubusercontent.com/u/211822?v=3","gravatar_id":"","url":"https://api.github.com/users/nickva","html_url":"https://github.com/nickva","followers_url":"https://api.github.com/users/nickva/followers","following_url":"https://api.github.com/users/nickva/following{/other_user}","gists_url":"https://api.github.com/users/nickva/gists{/gist_id}","starred_url":"https://api.github.com/users/nickva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickva/subscriptions","organizations_url":"https://api.github.com/users/nickva/orgs","repos_url":"https://api.github.com/users/nickva/repos","events_url":"https://api.github.com/users/nickva/events{/privacy}","received_events_url":"https://api.github.com/users/nickva/received_events","type":"User","site_admin":false},"body":" * Give couchdb_1283 tests more docs to process so compactor\r\n   stays running longer.\r\n\r\n * In couchdb_1309, when waiting for view cleanup, test once,\r\n   if fails due to race condition, wait a second and try again.\r\n\r\nCOUCHDB-2848","created_at":"2015-10-12T14:11:37Z","updated_at":"2015-10-12T14:32:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6838ce0198305c05d7863c437a6bf7794c6b1dab","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/apache/couchdb-couch/pulls/118/commits","review_comments_url":"https://api.github.com/repos/apache/couchdb-couch/pulls/118/comments","review_comment_url":"https://api.github.com/repos/apache/couchdb-couch/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/couchdb-couch/issues/118/comments","statuses_url":"https://api.github.com/repos/apache/couchdb-couch/statuses/fd47c1cf5247e158aa3c38a9cf88eb8bb4bd7d78","head":{"label":"cloudant:2848-stablize-eunit-tests","ref":"2848-stablize-eunit-tests","sha":"fd47c1cf5247e158aa3c38a9cf88eb8bb4bd7d78","user":{"login":"cloudant","id":44642,"avatar_url":"https://avatars.githubusercontent.com/u/44642?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudant","html_url":"https://github.com/cloudant","followers_url":"https://api.github.com/users/cloudant/followers","following_url":"https://api.github.com/users/cloudant/following{/other_user}","gists_url":"https://api.github.com/users/cloudant/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudant/subscriptions","organizations_url":"https://api.github.com/users/cloudant/orgs","repos_url":"https://api.github.com/users/cloudant/repos","events_url":"https://api.github.com/users/cloudant/events{/privacy}","received_events_url":"https://api.github.com/users/cloudant/received_events","type":"Organization","site_admin":false},"repo":{"id":30254957,"name":"couchdb-couch","full_name":"cloudant/couchdb-couch","owner":{"login":"cloudant","id":44642,"avatar_url":"https://avatars.githubusercontent.com/u/44642?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudant","html_url":"https://github.com/cloudant","followers_url":"https://api.github.com/users/cloudant/followers","following_url":"https://api.github.com/users/cloudant/following{/other_user}","gists_url":"https://api.github.com/users/cloudant/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudant/subscriptions","organizations_url":"https://api.github.com/users/cloudant/orgs","repos_url":"https://api.github.com/users/cloudant/repos","events_url":"https://api.github.com/users/cloudant/events{/privacy}","received_events_url":"https://api.github.com/users/cloudant/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cloudant/couchdb-couch","description":"Mirror of Apache CouchDB","fork":true,"url":"https://api.github.com/repos/cloudant/couchdb-couch","forks_url":"https://api.github.com/repos/cloudant/couchdb-couch/forks","keys_url":"https://api.github.com/repos/cloudant/couchdb-couch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cloudant/couchdb-couch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cloudant/couchdb-couch/teams","hooks_url":"https://api.github.com/repos/cloudant/couchdb-couch/hooks","issue_events_url":"https://api.github.com/repos/cloudant/couchdb-couch/issues/events{/number}","events_url":"https://api.github.com/repos/cloudant/couchdb-couch/events","assignees_url":"https://api.github.com/repos/cloudant/couchdb-couch/assignees{/user}","branches_url":"https://api.github.com/repos/cloudant/couchdb-couch/branches{/branch}","tags_url":"https://api.github.com/repos/cloudant/couchdb-couch/tags","blobs_url":"https://api.github.com/repos/cloudant/couchdb-couch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cloudant/couchdb-couch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cloudant/couchdb-couch/git/refs{/sha}","trees_url":"https://api.github.com/repos/cloudant/couchdb-couch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cloudant/couchdb-couch/statuses/{sha}","languages_url":"https://api.github.com/repos/cloudant/couchdb-couch/languages","stargazers_url":"https://api.github.com/repos/cloudant/couchdb-couch/stargazers","contributors_url":"https://api.github.com/repos/cloudant/couchdb-couch/contributors","subscribers_url":"https://api.github.com/repos/cloudant/couchdb-couch/subscribers","subscription_url":"https://api.github.com/repos/cloudant/couchdb-couch/subscription","commits_url":"https://api.github.com/repos/cloudant/couchdb-couch/commits{/sha}","git_commits_url":"https://api.github.com/repos/cloudant/couchdb-couch/git/commits{/sha}","comments_url":"https://api.github.com/repos/cloudant/couchdb-couch/comments{/number}","issue_comment_url":"https://api.github.com/repos/cloudant/couchdb-couch/issues/comments{/number}","contents_url":"https://api.github.com/repos/cloudant/couchdb-couch/contents/{+path}","compare_url":"https://api.github.com/repos/cloudant/couchdb-couch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cloudant/couchdb-couch/merges","archive_url":"https://api.github.com/repos/cloudant/couchdb-couch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cloudant/couchdb-couch/downloads","issues_url":"https://api.github.com/repos/cloudant/couchdb-couch/issues{/number}","pulls_url":"https://api.github.com/repos/cloudant/couchdb-couch/pulls{/number}","milestones_url":"https://api.github.com/repos/cloudant/couchdb-couch/milestones{/number}","notifications_url":"https://api.github.com/repos/cloudant/couchdb-couch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cloudant/couchdb-couch/labels{/name}","releases_url":"https://api.github.com/repos/cloudant/couchdb-couch/releases{/id}","created_at":"2015-02-03T17:22:52Z","updated_at":"2015-05-07T13:23:50Z","pushed_at":"2015-10-12T14:10:16Z","git_url":"git://github.com/cloudant/couchdb-couch.git","ssh_url":"git@github.com:cloudant/couchdb-couch.git","clone_url":"https://github.com/cloudant/couchdb-couch.git","svn_url":"https://github.com/cloudant/couchdb-couch","homepage":null,"size":3019,"stargazers_count":0,"watchers_count":0,"language":"Erlang","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"apache:master","ref":"master","sha":"75cfed07b8236e6127de4356202215cd22ab5529","user":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"repo":{"id":15993607,"name":"couchdb-couch","full_name":"apache/couchdb-couch","owner":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apache/couchdb-couch","description":"Mirror of Apache CouchDB","fork":false,"url":"https://api.github.com/repos/apache/couchdb-couch","forks_url":"https://api.github.com/repos/apache/couchdb-couch/forks","keys_url":"https://api.github.com/repos/apache/couchdb-couch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/couchdb-couch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/couchdb-couch/teams","hooks_url":"https://api.github.com/repos/apache/couchdb-couch/hooks","issue_events_url":"https://api.github.com/repos/apache/couchdb-couch/issues/events{/number}","events_url":"https://api.github.com/repos/apache/couchdb-couch/events","assignees_url":"https://api.github.com/repos/apache/couchdb-couch/assignees{/user}","branches_url":"https://api.github.com/repos/apache/couchdb-couch/branches{/branch}","tags_url":"https://api.github.com/repos/apache/couchdb-couch/tags","blobs_url":"https://api.github.com/repos/apache/couchdb-couch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/couchdb-couch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/couchdb-couch/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/couchdb-couch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/couchdb-couch/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/couchdb-couch/languages","stargazers_url":"https://api.github.com/repos/apache/couchdb-couch/stargazers","contributors_url":"https://api.github.com/repos/apache/couchdb-couch/contributors","subscribers_url":"https://api.github.com/repos/apache/couchdb-couch/subscribers","subscription_url":"https://api.github.com/repos/apache/couchdb-couch/subscription","commits_url":"https://api.github.com/repos/apache/couchdb-couch/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/couchdb-couch/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/couchdb-couch/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/couchdb-couch/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/couchdb-couch/contents/{+path}","compare_url":"https://api.github.com/repos/apache/couchdb-couch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/couchdb-couch/merges","archive_url":"https://api.github.com/repos/apache/couchdb-couch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/couchdb-couch/downloads","issues_url":"https://api.github.com/repos/apache/couchdb-couch/issues{/number}","pulls_url":"https://api.github.com/repos/apache/couchdb-couch/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/couchdb-couch/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/couchdb-couch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/couchdb-couch/labels{/name}","releases_url":"https://api.github.com/repos/apache/couchdb-couch/releases{/id}","created_at":"2014-01-17T08:00:08Z","updated_at":"2015-09-23T14:29:49Z","pushed_at":"2015-10-12T14:11:37Z","git_url":"git://github.com/apache/couchdb-couch.git","ssh_url":"git@github.com:apache/couchdb-couch.git","clone_url":"https://github.com/apache/couchdb-couch.git","svn_url":"https://github.com/apache/couchdb-couch","homepage":null,"size":4722,"stargazers_count":23,"watchers_count":23,"language":"Erlang","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":33,"mirror_url":"git://git.apache.org/couchdb-couch.git","open_issues_count":17,"forks":33,"open_issues":17,"watchers":23,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/couchdb-couch/pulls/118"},"html":{"href":"https://github.com/apache/couchdb-couch/pull/118"},"issue":{"href":"https://api.github.com/repos/apache/couchdb-couch/issues/118"},"comments":{"href":"https://api.github.com/repos/apache/couchdb-couch/issues/118/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/couchdb-couch/pulls/118/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/couchdb-couch/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/couchdb-couch/pulls/118/commits"},"statuses":{"href":"https://api.github.com/repos/apache/couchdb-couch/statuses/fd47c1cf5247e158aa3c38a9cf88eb8bb4bd7d78"}}}}