[TEST] Update ML categorization expected result following C++ change

Original commit: elastic/x-pack-elasticsearch@cc78772aa2
This commit is contained in:
David Roberts 2018-01-20 14:49:38 +00:00
parent 60e577a9c4
commit 64cfa017f0

View File

@ -109,7 +109,7 @@ public class CategorizationIT extends MlNativeAutodetectIntegTestCase {
CategoryDefinition category2 = categories.get(1);
assertThat(category2.getRegex(), equalTo(".*?Failed.+?to.+?shutdown.+?error.+?" +
"org.aaaa.bbbb.Cccc.+?line.+?caused.+?by.+?foo.+?exception.*"));
"org\\.aaaa\\.bbbb\\.Cccc.+?line.+?caused.+?by.+?foo.+?exception.*"));
assertThat(category2.getExamples(), equalTo(Collections.singletonList(
"Failed to shutdown [error org.aaaa.bbbb.Cccc line 54 caused by foo exception]")));