You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by re...@apache.org on 2026/06/05 02:27:54 UTC
(cxf) 01/03: Fix JAXRS20ClientServerBookTest.testGetGenericBookManyClientsInParallel test case
This is an automated email from the ASF dual-hosted git repository.
reta pushed a commit to branch 4.1.x-fixes
in repository https://gitbox.apache.org/repos/asf/cxf.git
commit 14e6e7338c43d428e73aee08723f25f73ed740dd
Author: Andriy Redko <dr...@gmail.com>
AuthorDate: Thu Jun 4 21:57:41 2026 -0400
Fix JAXRS20ClientServerBookTest.testGetGenericBookManyClientsInParallel test case
(cherry picked from commit ca5c4a7a211ef1d8624b57061b42d98890bd6129)
---
.../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 a6601a462ec..3d7b2e7f2fd 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));