{"action":"created","issue":{"url":"https://api.github.com/repos/couchbase/sync_gateway/issues/979","labels_url":"https://api.github.com/repos/couchbase/sync_gateway/issues/979/labels{/name}","comments_url":"https://api.github.com/repos/couchbase/sync_gateway/issues/979/comments","events_url":"https://api.github.com/repos/couchbase/sync_gateway/issues/979/events","html_url":"https://github.com/couchbase/sync_gateway/pull/979","id":94750745,"number":979,"title":"add failing test, /db/_role/ returns hipster when it should return an empty array","user":{"login":"jamiltz","id":2589337,"avatar_url":"https://avatars.githubusercontent.com/u/2589337?v=3","gravatar_id":"","url":"https://api.github.com/users/jamiltz","html_url":"https://github.com/jamiltz","followers_url":"https://api.github.com/users/jamiltz/followers","following_url":"https://api.github.com/users/jamiltz/following{/other_user}","gists_url":"https://api.github.com/users/jamiltz/gists{/gist_id}","starred_url":"https://api.github.com/users/jamiltz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamiltz/subscriptions","organizations_url":"https://api.github.com/users/jamiltz/orgs","repos_url":"https://api.github.com/users/jamiltz/repos","events_url":"https://api.github.com/users/jamiltz/events{/privacy}","received_events_url":"https://api.github.com/users/jamiltz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-13T15:41:23Z","updated_at":"2015-07-20T16:48:01Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/couchbase/sync_gateway/pulls/979","html_url":"https://github.com/couchbase/sync_gateway/pull/979","diff_url":"https://github.com/couchbase/sync_gateway/pull/979.diff","patch_url":"https://github.com/couchbase/sync_gateway/pull/979.patch"},"body":null},"comment":{"url":"https://api.github.com/repos/couchbase/sync_gateway/issues/comments/122945986","html_url":"https://github.com/couchbase/sync_gateway/pull/979#issuecomment-122945986","issue_url":"https://api.github.com/repos/couchbase/sync_gateway/issues/979","id":122945986,"user":{"login":"adamcfraser","id":8866453,"avatar_url":"https://avatars.githubusercontent.com/u/8866453?v=3","gravatar_id":"","url":"https://api.github.com/users/adamcfraser","html_url":"https://github.com/adamcfraser","followers_url":"https://api.github.com/users/adamcfraser/followers","following_url":"https://api.github.com/users/adamcfraser/following{/other_user}","gists_url":"https://api.github.com/users/adamcfraser/gists{/gist_id}","starred_url":"https://api.github.com/users/adamcfraser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamcfraser/subscriptions","organizations_url":"https://api.github.com/users/adamcfraser/orgs","repos_url":"https://api.github.com/users/adamcfraser/repos","events_url":"https://api.github.com/users/adamcfraser/events{/privacy}","received_events_url":"https://api.github.com/users/adamcfraser/received_events","type":"User","site_admin":false},"created_at":"2015-07-20T16:48:01Z","updated_at":"2015-07-20T16:48:01Z","body":"I was able to reproduce this when running the linked unit tests, but not when making the same set of calls against a local Sync Gateway.  Checked whether it was a race condition found by the unit test, but it doesn't seem to be only that.  Needs more investigation."}}