This is an automated email from the ASF dual-hosted git repository.
reta pushed a commit to branch 4.0.x-fixes
in repository https://gitbox.apache.org/repos/asf/cxf.git
The following commit(s) were added to refs/heads/4.0.x-fixes by this push:
new 492d7793c59 Fix
JAXRS20ClientServerBookTest.testGetGenericBookManyClientsInParallel test case
492d7793c59 is described below
commit 492d7793c596529f8d53762bf8b91ac2bc52c1f7
Author: Andriy Redko <[email protected]>
AuthorDate: Thu Jun 4 21:57:41 2026 -0400
Fix JAXRS20ClientServerBookTest.testGetGenericBookManyClientsInParallel
test case
---
.../org/apache/cxf/systest/jaxrs/JAXRS20ClientServerBookTest.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRS20ClientServerBookTest.java
b/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRS20ClientServerBookTest.java
index 3279eac8363..3011af0abca 100644
---
a/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRS20ClientServerBookTest.java
+++
b/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRS20ClientServerBookTest.java
@@ -203,8 +203,8 @@ public class JAXRS20ClientServerBookTest extends
AbstractBusClientServerTestBase
} finally {
pool.shutdown();
assertThat(pool.awaitTermination(1, TimeUnit.MINUTES), is(true));
- // Since JDK-27, HttpClient selector thread is a virtual thread by
default
- if (Runtime.version().feature() >= 27) {
+ // Since JDK-26, HttpClient selector thread is a virtual thread by
default
+ if (Runtime.version().feature() >= 26) {
assertThat(captureHttpClientSelectorThreads.get(),
equalTo(0L));
} else {
assertThat(captureHttpClientSelectorThreads.get(),
greaterThan(0L));