From cfdae914ed482679b65385208882a5c52691b11c Mon Sep 17 00:00:00 2001 From: Keith Massey Date: Mon, 24 Jan 2022 17:17:21 -0600 Subject: [PATCH] Expected exception when incorrectly configuring upsert has changed --- .../hadoop/integration/mr/AbstractMROldApiSaveTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mr/src/itest/java/org/elasticsearch/hadoop/integration/mr/AbstractMROldApiSaveTest.java b/mr/src/itest/java/org/elasticsearch/hadoop/integration/mr/AbstractMROldApiSaveTest.java index b9062c1e7..e15000c33 100644 --- a/mr/src/itest/java/org/elasticsearch/hadoop/integration/mr/AbstractMROldApiSaveTest.java +++ b/mr/src/itest/java/org/elasticsearch/hadoop/integration/mr/AbstractMROldApiSaveTest.java @@ -287,7 +287,7 @@ public void testSaveWithIngest() throws Exception { } - @Test(expected = IOException.class) + @Test(expected = EsHadoopIllegalArgumentException.class) public void testUpdateWithoutId() throws Exception { JobConf conf = createJobConf(); conf.set(ConfigurationOptions.ES_WRITE_OPERATION, "upsert");