[
https://issues.apache.org/jira/browse/CXF-8608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17428948#comment-17428948
]
Freeman Yue Fang commented on CXF-8608:
---------------------------------------
Seems not related to file descriptor limit, different testcases(different
TestParam) can interfere with each other.
If I put the failed TestParam in the beginning of the test like
{code}
---
a/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/wssc/WSSCTest.java
+++
b/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/wssc/WSSCTest.java
@@ -120,6 +120,7 @@ public class WSSCTest extends
AbstractBusClientServerTestBase {
@Parameters(name = "{0}")
public static Collection<TestParam> data() {
return Arrays.asList(new TestParam[] {
+ new
TestParam("SecureConversation_UserNameOverTransport_IPingService", STAX_PORT2,
true),
new
TestParam("SecureConversation_UserNameOverTransport_IPingService", PORT2,
false),
new
TestParam("SecureConversation_MutualCertificate10SignEncrypt_IPingService",
PORT, false),
new TestParam("AC_IPingService", PORT, false),
@@ -200,7 +201,6 @@ public class WSSCTest extends
AbstractBusClientServerTestBase {
new TestParam("_XD-SEES_IPingService", STAX_PORT, false),
new TestParam("_XD-ES_IPingService", STAX_PORT, false),
- new
TestParam("SecureConversation_UserNameOverTransport_IPingService", STAX_PORT2,
true),
// TODO Endorsing derived keys not supported.
// new
TestParam("SecureConversation_MutualCertificate10SignEncrypt_IPingService",
// STAX_PORT, true),
{code}
All TestParam passed with JDK8/JDK11/JDK17
> WSSCTest always failed with JDK8
> --------------------------------
>
> Key: CXF-8608
> URL: https://issues.apache.org/jira/browse/CXF-8608
> Project: CXF
> Issue Type: Task
> Reporter: Freeman Yue Fang
> Assignee: Freeman Yue Fang
> Priority: Major
>
> Though I don't see this error with JDK11+
> ENV
> {code}
> Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
> Maven home: /Users/ffang/kit/apache-maven-3.6.3
> Java version: 1.8.0_261, vendor: Oracle Corporation, runtime:
> /Library/Java/JavaVirtualMachines/jdk1.8.0_261.jdk/Contents/Home/jre
> Default locale: en_CA, platform encoding: UTF-8
> OS name: "mac os x", version: "10.16", arch: "x86_64", family: "mac"
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)