{"action":"created","issue":{"url":"https://api.github.com/repos/coreos/jetcd/issues/104","repository_url":"https://api.github.com/repos/coreos/jetcd","labels_url":"https://api.github.com/repos/coreos/jetcd/issues/104/labels{/name}","comments_url":"https://api.github.com/repos/coreos/jetcd/issues/104/comments","events_url":"https://api.github.com/repos/coreos/jetcd/issues/104/events","html_url":"https://github.com/coreos/jetcd/pull/104","id":233006707,"number":104,"title":"integration: run AuthClientTest the last with priority = 1","user":{"login":"fanminshi","id":4983345,"avatar_url":"https://avatars0.githubusercontent.com/u/4983345?v=3","gravatar_id":"","url":"https://api.github.com/users/fanminshi","html_url":"https://github.com/fanminshi","followers_url":"https://api.github.com/users/fanminshi/followers","following_url":"https://api.github.com/users/fanminshi/following{/other_user}","gists_url":"https://api.github.com/users/fanminshi/gists{/gist_id}","starred_url":"https://api.github.com/users/fanminshi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fanminshi/subscriptions","organizations_url":"https://api.github.com/users/fanminshi/orgs","repos_url":"https://api.github.com/users/fanminshi/repos","events_url":"https://api.github.com/users/fanminshi/events{/privacy}","received_events_url":"https://api.github.com/users/fanminshi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-06-01T20:51:52Z","updated_at":"2017-06-01T21:20:14Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/coreos/jetcd/pulls/104","html_url":"https://github.com/coreos/jetcd/pull/104","diff_url":"https://github.com/coreos/jetcd/pull/104.diff","patch_url":"https://github.com/coreos/jetcd/pull/104.patch"},"body":"when AutClient sets auth enable and other tests are running,\r\nthis causes clients from other tests to throw auth errors.\r\n\r\nlet AuthClientTest to run last with priority = 1 aviods above issue."},"comment":{"url":"https://api.github.com/repos/coreos/jetcd/issues/comments/305623985","html_url":"https://github.com/coreos/jetcd/pull/104#issuecomment-305623985","issue_url":"https://api.github.com/repos/coreos/jetcd/issues/104","id":305623985,"user":{"login":"heyitsanthony","id":16294350,"avatar_url":"https://avatars1.githubusercontent.com/u/16294350?v=3","gravatar_id":"","url":"https://api.github.com/users/heyitsanthony","html_url":"https://github.com/heyitsanthony","followers_url":"https://api.github.com/users/heyitsanthony/followers","following_url":"https://api.github.com/users/heyitsanthony/following{/other_user}","gists_url":"https://api.github.com/users/heyitsanthony/gists{/gist_id}","starred_url":"https://api.github.com/users/heyitsanthony/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heyitsanthony/subscriptions","organizations_url":"https://api.github.com/users/heyitsanthony/orgs","repos_url":"https://api.github.com/users/heyitsanthony/repos","events_url":"https://api.github.com/users/heyitsanthony/events{/privacy}","received_events_url":"https://api.github.com/users/heyitsanthony/received_events","type":"User","site_admin":false},"created_at":"2017-06-01T21:20:14Z","updated_at":"2017-06-01T21:20:14Z","body":"Would it be possible to use `@Before` and `@After` annotations to enable/disable auth for these tests instead of using priorities? This seems like a good case for the usual setup/teardown pattern.\r\n\r\nHow is junit ensuring auth is being enabled for these tests? I see testEnableAuth but don't understand what's making sure it's called before the other auth tests."}}
{"actor":{"display_login":"heyitsanthony"}}