{"action":"opened","issue":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/18087","repository_url":"https://api.github.com/repos/elastic/elasticsearch","labels_url":"https://api.github.com/repos/elastic/elasticsearch/issues/18087/labels{/name}","comments_url":"https://api.github.com/repos/elastic/elasticsearch/issues/18087/comments","events_url":"https://api.github.com/repos/elastic/elasticsearch/issues/18087/events","html_url":"https://github.com/elastic/elasticsearch/issues/18087","id":152564786,"number":18087,"title":"`gradle eclipse` should set `-ea` if possible","user":{"login":"nik9000","id":215970,"avatar_url":"https://avatars.githubusercontent.com/u/215970?v=3","gravatar_id":"","url":"https://api.github.com/users/nik9000","html_url":"https://github.com/nik9000","followers_url":"https://api.github.com/users/nik9000/followers","following_url":"https://api.github.com/users/nik9000/following{/other_user}","gists_url":"https://api.github.com/users/nik9000/gists{/gist_id}","starred_url":"https://api.github.com/users/nik9000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nik9000/subscriptions","organizations_url":"https://api.github.com/users/nik9000/orgs","repos_url":"https://api.github.com/users/nik9000/repos","events_url":"https://api.github.com/users/nik9000/events{/privacy}","received_events_url":"https://api.github.com/users/nik9000/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-02T14:28:10Z","updated_at":"2016-05-02T14:28:10Z","closed_at":null,"body":"Eclipse has a flag that enabled `-ea` when it sets up any tests. Elasticsearch's tests fail immediately if they aren't run with `-ea`. So `gradle eclipse` should set that flag if at all possible. It is kind of a mystery to me what `gradle eclipse` is allowed to set but it is worth looking into. At a minimum we need something in CONTRIBUTING.md about it."}}