This is an automated email from the ASF dual-hosted git repository.

tilman pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tika.git


The following commit(s) were added to refs/heads/main by this push:
     new fc568976a TIKA-3773: add config to parallelize tests with junit5 
(inspired by pdfbox)
fc568976a is described below

commit fc568976ade5c1ea2591d7b2bdfa79b4fd6c9681
Author: Tilman Hausherr <[email protected]>
AuthorDate: Sun May 22 09:38:00 2022 +0200

    TIKA-3773: add config to parallelize tests with junit5 (inspired by pdfbox)
---
 .../src/test/resources/junit-platform.properties   | 19 +++++++++++++++++++
 .../src/test/resources/junit-platform.properties   | 22 ++++++++++++++++++++++
 2 files changed, 41 insertions(+)

diff --git 
a/tika-parsers/tika-parsers-extended/tika-parser-scientific-module/src/test/resources/junit-platform.properties
 
b/tika-parsers/tika-parsers-extended/tika-parser-scientific-module/src/test/resources/junit-platform.properties
new file mode 100644
index 000000000..a89c684fe
--- /dev/null
+++ 
b/tika-parsers/tika-parsers-extended/tika-parser-scientific-module/src/test/resources/junit-platform.properties
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+junit.jupiter.execution.parallel.enabled = true
+junit.jupiter.execution.parallel.mode.default = same_thread
+junit.jupiter.execution.parallel.mode.classes.default = concurrent
diff --git 
a/tika-parsers/tika-parsers-ml/tika-parser-nlp-module/src/test/resources/junit-platform.properties
 
b/tika-parsers/tika-parsers-ml/tika-parser-nlp-module/src/test/resources/junit-platform.properties
new file mode 100644
index 000000000..882ce43e4
--- /dev/null
+++ 
b/tika-parsers/tika-parsers-ml/tika-parser-nlp-module/src/test/resources/junit-platform.properties
@@ -0,0 +1,22 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+# parallel execution fails in RegexNERecogniserTest.testGetEntityTypes()
+# possibly a weakness in NamedEntityParser?
+junit.jupiter.execution.parallel.enabled = false
+junit.jupiter.execution.parallel.mode.default = same_thread
+junit.jupiter.execution.parallel.mode.classes.default = concurrent

Reply via email to