You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: src/test/java/org/opensearch/neuralsearch/processor/TextChunkingProcessorTests.java
+5-2
Original file line number
Diff line number
Diff line change
@@ -607,7 +607,7 @@ public void testExecute_withFixedTokenLength_andMaxDepthLimitExceedFieldMap_then
607
607
IllegalArgumentException.class,
608
608
() -> processor.execute(ingestDocument)
609
609
);
610
-
assertEquals("map type field [body] reached max depth limit, cannot process it", illegalArgumentException.getMessage());
610
+
assertEquals("map type field [body] reaches max depth limit, cannot process it", illegalArgumentException.getMessage());
611
611
}
612
612
613
613
@SneakyThrows
@@ -657,7 +657,10 @@ public void testExecute_withFixedTokenLength_andSourceDataListWithHybridType_the
657
657
IllegalArgumentException.class,
658
658
() -> processor.execute(ingestDocument)
659
659
);
660
-
assertEquals("list type field [body] has non string value, cannot process it", illegalArgumentException.getMessage());
660
+
assertEquals(
661
+
"[body] configuration doesn't match actual value type, configuration type is: java.lang.String, actual value type is: com.google.common.collect.RegularImmutableMap",
0 commit comments