Analysis : Fix no response from Analyze API without specified index

fix test
This commit is contained in:
Jun Ohtani 2015-12-22 11:53:29 +09:00
parent 267cd65506
commit 51f6519e71
1 changed files with 1 additions and 1 deletions

View File

@ -512,7 +512,7 @@ public class AnalyzeActionIT extends ESIntegTestCase {
fail("shouldn't get here"); fail("shouldn't get here");
} catch (Throwable t) { } catch (Throwable t) {
assertThat(t, instanceOf(IllegalArgumentException.class)); assertThat(t, instanceOf(IllegalArgumentException.class));
assertThat(t.getMessage(), startsWith("failed to find analyzer")); assertThat(t.getMessage(), startsWith("failed to find global analyzer"));
} }