This is an automated email from the ASF dual-hosted git repository. thomasm pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/jackrabbit-oak.git
The following commit(s) were added to refs/heads/trunk by this push: new f19830be9a OAK-11787 ElasticRegexPropertyIndexTest.regexPropertyWithoutFlattened (#2366) f19830be9a is described below commit f19830be9af7e35f4863c49f1c583dd3f522eca6 Author: Thomas Mueller <thom...@apache.org> AuthorDate: Thu Jul 3 16:35:09 2025 +0200 OAK-11787 ElasticRegexPropertyIndexTest.regexPropertyWithoutFlattened (#2366) --- .../oak/plugins/index/elastic/ElasticRegexPropertyIndexTest.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/oak-search-elastic/src/test/java/org/apache/jackrabbit/oak/plugins/index/elastic/ElasticRegexPropertyIndexTest.java b/oak-search-elastic/src/test/java/org/apache/jackrabbit/oak/plugins/index/elastic/ElasticRegexPropertyIndexTest.java index 52d504d1e2..9daf0c0f9e 100644 --- a/oak-search-elastic/src/test/java/org/apache/jackrabbit/oak/plugins/index/elastic/ElasticRegexPropertyIndexTest.java +++ b/oak-search-elastic/src/test/java/org/apache/jackrabbit/oak/plugins/index/elastic/ElasticRegexPropertyIndexTest.java @@ -138,10 +138,11 @@ public class ElasticRegexPropertyIndexTest extends ElasticAbstractQueryTest { fail(); } catch (CommitFailedException e) { Throwable cause = e.getCause(); - String msg = cause.getMessage(); assertTrue("Unexpected exception type. Expected IOException. Was " + cause, cause instanceof IOException); - assertTrue(msg, msg.contains("Error indexing documents for index:")); + // String msg = cause.getMessage(); + // assertTrue(msg, msg.contains("Error indexing documents for index:")); // Typically, the root cause is "Limit of total fields [1000] has been exceeded" + // and some times it is "Service error while indexing." // but something this is suppressed, and so we can not have an assertion on it } }