Test: fixed test issue
Original commit: elastic/x-pack-elasticsearch@7fbce014d9
This commit is contained in:
parent
96d80597c4
commit
14b1f6c3d2
|
@ -96,7 +96,6 @@ public class BasicAlertsTests extends AbstractAlertsIntegrationTests {
|
|||
@TestLogging("action.admin.indices.delete:TRACE")
|
||||
public void testDeleteAlert() throws Exception {
|
||||
AlertsClient alertsClient = alertClient();
|
||||
createIndex("my-index");
|
||||
// Have a sample document in the index, the alert is going to evaluate
|
||||
client().prepareIndex("my-index", "my-type").setSource("field", "value").get();
|
||||
SearchRequest searchRequest = AlertsTestUtils.newInputSearchRequest("my-index").source(searchSource().query(matchAllQuery()));
|
||||
|
|
Loading…
Reference in New Issue