Re: [PR] Enable SurrogatePairLengthTest [xerces-j]
elharo (via GitHub) <[email protected]> Sun, 19 Jul 2026 12:59:08 -0000
| Newsgroups | gmane.text.xml.xerces-j.devel |
|---|---|
| Message-ID | <PR_kwDOLzdO6M7zCP5r-af3c5f6d-d1d9-484d-863b-b90ffca26cd0@gitbox.apache.org> |
elharo commented on code in PR #116:
URL: https://github.com/apache/xerces-j/pull/116#discussion_r3610593263
##########
build.xml:
##########
@@ -835,25 +835,27 @@ Authors:
<include name="schema/config/IgnoreXSIType_A_C_Test.class"/>
<include name="schema/config/IgnoreXSIType_C_A_Test.class"/>
<include name="schema/config/RootSimpleTypeDefinitionTest.class"/>
- <include name="schema/config/RootTypeDefinitionTest.class"/>
- <include name="schema/config/UseGrammarPoolOnly_False_Test.class"/>
- <!-- These tests are failing. Fix them.
- <include name="schema/config/IgnoreXSIType_C_AC_Test.class"/>
- <include name="schema/config/IgnoreXSIType_C_CA_Test.class"/>
- <include name="schema/config/IgnoreXSIType_C_C_Test.class"/>
- <include name="schema/config/SurrogatePairLengthTest.class"/>
- <include name="schema/config/UseGrammarPoolOnly_True_Test.class"/>
- <include name="schema/config/UnparsedEntityCheckingTest.class"/>
- -->
+ <include name="schema/config/RootTypeDefinitionTest.class"/>
+ <include name="schema/config/UseGrammarPoolOnly_False_Test.class"/>
+ <!-- These tests are failing. Fix them.
+ <include name="schema/config/IgnoreXSIType_C_AC_Test.class"/>
+ <include name="schema/config/IgnoreXSIType_C_CA_Test.class"/>
+ <include name="schema/config/IgnoreXSIType_C_C_Test.class"/>
+ <include name="schema/config/UseGrammarPoolOnly_True_Test.class"/>
+ <include name="schema/config/UnparsedEntityCheckingTest.class"/>
+ -->
+ <!-- SurrogatePairLengthTest uses reflection to modify a private
+ static field in TypeValidator. This test is NOT safe for
+ parallel execution and must run sequentially. -->
+ <include name="schema/config/SurrogatePairLengthTest.class"/>
Review Comment:
This is as intended. The expectation is no per-test forking.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]