Skip to content

Commit e02817d

Browse files
committed
Fix JAXRS20ClientServerBookTest.testGetGenericBookManyClientsInParallel test case
1 parent 713e5fb commit e02817d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRS20ClientServerBookTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,8 @@ public void testGetGenericBookManyClientsInParallel() throws InterruptedExceptio
203203
} finally {
204204
pool.shutdown();
205205
assertThat(pool.awaitTermination(1, TimeUnit.MINUTES), is(true));
206-
// Since JDK-27, HttpClient selector thread is a virtual thread by default
207-
if (Runtime.version().feature() >= 27) {
206+
// Since JDK-26, HttpClient selector thread is a virtual thread by default
207+
if (Runtime.version().feature() >= 26) {
208208
assertThat(captureHttpClientSelectorThreads.get(), equalTo(0L));
209209
} else {
210210
assertThat(captureHttpClientSelectorThreads.get(), greaterThan(0L));

0 commit comments

Comments
 (0)