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

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

commit ca5c4a7a211ef1d8624b57061b42d98890bd6129
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 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));

Reply via email to