[TEST] fix error message assertion

This commit is contained in:
Simon Willnauer 2016-01-18 14:45:46 +01:00
parent dce29d29c0
commit a3a7b14efd
1 changed files with 1 additions and 1 deletions

View File

@ -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());
} }
} }