[TEST] fix error message assertion
This commit is contained in:
parent
dce29d29c0
commit
a3a7b14efd
|
@ -57,7 +57,7 @@ public class CreateIndexIT extends ESIntegTestCase {
|
||||||
prepareCreate("test").setSettings(Settings.builder().put(IndexMetaData.SETTING_CREATION_DATE, 4l)).get();
|
prepareCreate("test").setSettings(Settings.builder().put(IndexMetaData.SETTING_CREATION_DATE, 4l)).get();
|
||||||
fail();
|
fail();
|
||||||
} catch (IllegalArgumentException ex) {
|
} catch (IllegalArgumentException ex) {
|
||||||
assertEquals("unknow setting [index.creation_date]", ex.getMessage());
|
assertEquals("unknown setting [index.creation_date]", ex.getMessage());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue