From 9d67175b02eb37bc8966b1e89e87462fde2f919a Mon Sep 17 00:00:00 2001 From: Jake Landis Date: Mon, 17 Dec 2018 18:21:23 -0600 Subject: [PATCH] ingest: fix merge for backport of #36618 --- .../org/elasticsearch/action/bulk/TransportBulkActionTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/test/java/org/elasticsearch/action/bulk/TransportBulkActionTests.java b/server/src/test/java/org/elasticsearch/action/bulk/TransportBulkActionTests.java index 6161462f67333..bbea07a10c48d 100644 --- a/server/src/test/java/org/elasticsearch/action/bulk/TransportBulkActionTests.java +++ b/server/src/test/java/org/elasticsearch/action/bulk/TransportBulkActionTests.java @@ -147,7 +147,7 @@ public void testGetIndexWriteRequest() throws Exception { assertEquals(TransportBulkAction.getIndexWriteRequest(docAsUpsertRequest), indexRequest); assertEquals(TransportBulkAction.getIndexWriteRequest(scriptedUpsert), indexRequest); - DeleteRequest deleteRequest = new DeleteRequest("index", "id"); + DeleteRequest deleteRequest = new DeleteRequest("index", "type", "id"); assertNull(TransportBulkAction.getIndexWriteRequest(deleteRequest)); UpdateRequest badUpsertRequest = new UpdateRequest("index", "type", "id1");