Increased logging to see why history index isn't deleted
Original commit: elastic/x-pack-elasticsearch@eb0f4e9e46
This commit is contained in:
parent
9e8405e619
commit
a2b71a94b7
|
@ -29,6 +29,7 @@ import org.elasticsearch.search.aggregations.AggregationBuilders;
|
||||||
import org.elasticsearch.search.aggregations.bucket.histogram.DateHistogram;
|
import org.elasticsearch.search.aggregations.bucket.histogram.DateHistogram;
|
||||||
import org.elasticsearch.search.aggregations.bucket.histogram.Histogram;
|
import org.elasticsearch.search.aggregations.bucket.histogram.Histogram;
|
||||||
import org.elasticsearch.search.builder.SearchSourceBuilder;
|
import org.elasticsearch.search.builder.SearchSourceBuilder;
|
||||||
|
import org.elasticsearch.test.junit.annotations.TestLogging;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
|
||||||
import java.util.Locale;
|
import java.util.Locale;
|
||||||
|
@ -92,6 +93,7 @@ public class BasicAlertsTests extends AbstractAlertsIntegrationTests {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@TestLogging("action.admin.indices.delete:TRACE")
|
||||||
public void testDeleteAlert() throws Exception {
|
public void testDeleteAlert() throws Exception {
|
||||||
AlertsClient alertsClient = alertClient();
|
AlertsClient alertsClient = alertClient();
|
||||||
createIndex("my-index");
|
createIndex("my-index");
|
||||||
|
|
Loading…
Reference in New Issue