{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/16497","repository_url":"https://api.github.com/repos/elastic/elasticsearch","labels_url":"https://api.github.com/repos/elastic/elasticsearch/issues/16497/labels{/name}","comments_url":"https://api.github.com/repos/elastic/elasticsearch/issues/16497/comments","events_url":"https://api.github.com/repos/elastic/elasticsearch/issues/16497/events","html_url":"https://github.com/elastic/elasticsearch/pull/16497","id":132145427,"number":16497,"title":"[Test]: Allow REST tests to specify custom indices and templates to be deleted","user":{"login":"tlrx","id":642733,"avatar_url":"https://avatars.githubusercontent.com/u/642733?v=3","gravatar_id":"","url":"https://api.github.com/users/tlrx","html_url":"https://github.com/tlrx","followers_url":"https://api.github.com/users/tlrx/followers","following_url":"https://api.github.com/users/tlrx/following{/other_user}","gists_url":"https://api.github.com/users/tlrx/gists{/gist_id}","starred_url":"https://api.github.com/users/tlrx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tlrx/subscriptions","organizations_url":"https://api.github.com/users/tlrx/orgs","repos_url":"https://api.github.com/users/tlrx/repos","events_url":"https://api.github.com/users/tlrx/events{/privacy}","received_events_url":"https://api.github.com/users/tlrx/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/elastic/elasticsearch/labels/:Internal","name":":Internal","color":"009800"},{"url":"https://api.github.com/repos/elastic/elasticsearch/labels/review","name":"review","color":"0052cc"},{"url":"https://api.github.com/repos/elastic/elasticsearch/labels/test","name":"test","color":"5319e7"},{"url":"https://api.github.com/repos/elastic/elasticsearch/labels/v2.3.0","name":"v2.3.0","color":"dddddd"},{"url":"https://api.github.com/repos/elastic/elasticsearch/labels/v3.0.0","name":"v3.0.0","color":"dddddd"}],"state":"open","locked":false,"assignee":{"login":"javanna","id":832460,"avatar_url":"https://avatars.githubusercontent.com/u/832460?v=3","gravatar_id":"","url":"https://api.github.com/users/javanna","html_url":"https://github.com/javanna","followers_url":"https://api.github.com/users/javanna/followers","following_url":"https://api.github.com/users/javanna/following{/other_user}","gists_url":"https://api.github.com/users/javanna/gists{/gist_id}","starred_url":"https://api.github.com/users/javanna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javanna/subscriptions","organizations_url":"https://api.github.com/users/javanna/orgs","repos_url":"https://api.github.com/users/javanna/repos","events_url":"https://api.github.com/users/javanna/events{/privacy}","received_events_url":"https://api.github.com/users/javanna/received_events","type":"User","site_admin":false},"milestone":null,"comments":11,"created_at":"2016-02-08T13:45:57Z","updated_at":"2016-02-15T08:57:06Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/elastic/elasticsearch/pulls/16497","html_url":"https://github.com/elastic/elasticsearch/pull/16497","diff_url":"https://github.com/elastic/elasticsearch/pull/16497.diff","patch_url":"https://github.com/elastic/elasticsearch/pull/16497.patch"},"body":"It could be nice to be able to specify custom indices and/or template name to be deleted between REST tests."},"comment":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/comments/184120165","html_url":"https://github.com/elastic/elasticsearch/pull/16497#issuecomment-184120165","issue_url":"https://api.github.com/repos/elastic/elasticsearch/issues/16497","id":184120165,"user":{"login":"javanna","id":832460,"avatar_url":"https://avatars.githubusercontent.com/u/832460?v=3","gravatar_id":"","url":"https://api.github.com/users/javanna","html_url":"https://github.com/javanna","followers_url":"https://api.github.com/users/javanna/followers","following_url":"https://api.github.com/users/javanna/following{/other_user}","gists_url":"https://api.github.com/users/javanna/gists{/gist_id}","starred_url":"https://api.github.com/users/javanna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javanna/subscriptions","organizations_url":"https://api.github.com/users/javanna/orgs","repos_url":"https://api.github.com/users/javanna/repos","events_url":"https://api.github.com/users/javanna/events{/privacy}","received_events_url":"https://api.github.com/users/javanna/received_events","type":"User","site_admin":false},"created_at":"2016-02-15T08:57:06Z","updated_at":"2016-02-15T08:57:06Z","body":"@clintongormley I think the problem is testing some plugins that create their own templates/indices and rely on them. We wanted to make sure that they don't get deleted all the time, those templates/indices should be created once (not as part of setup) and be left alone. I think Tanguy is looking into alternatives though to make everybody happy, so hopefully this PR will be superseded by some other one."}}