arturobernalg commented on PR #590:
URL: 
https://github.com/apache/httpcomponents-client/pull/590#issuecomment-2416135126

   @ok2c I ran the tests locally on macOS, and some of them are indeed failing 
with the current fix.
   
   `ProductName:                macOS
   ProductVersion:              15.0.1
   BuildVersion:                24A348`
   
   `[ERROR] Errors:
   [ERROR]   
HttpIntegrationTests$Http1>AbstractHttpAsyncFundamentalsTest.testConcurrentPostRequests:152
 » Execution org.apache.hc.client5.http.HttpHostConnectException: Connect to 
http://localhost:54012 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: 
Connection refused
   [ERROR]   ReactiveIntegrationTests$Http1.testConcurrentPostRequests » 
Timeout testConcurrentPostRequests() timed out after 60000 milliseconds
   [INFO]
   [ERROR] Tests run: 359, Failures: 0, Errors: 2, Skipped: 2`
   
   
   
   
   `[ERROR] Tests run: 11, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 
5.123 s <<< FAILURE! -- in 
org.apache.hc.client5.testing.async.HttpIntegrationTests$Http1
   [ERROR] 
org.apache.hc.client5.testing.async.HttpIntegrationTests$Http1.testConcurrentPostRequests
 -- Time elapsed: 5.017 s <<< ERROR!
   java.util.concurrent.ExecutionException: 
org.apache.hc.client5.http.HttpHostConnectException: Connect to 
http://localhost:54012 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: 
Connection refused
        at 
org.apache.hc.core5.concurrent.BasicFuture.getResult(BasicFuture.java:84)
        at org.apache.hc.core5.concurrent.BasicFuture.get(BasicFuture.java:99)
        at 
org.apache.hc.client5.testing.async.AbstractHttpAsyncFundamentalsTest.testConcurrentPostRequests(AbstractHttpAsyncFundamentalsTest.java:152)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1540)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1540)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1540)
   Caused by: org.apache.hc.client5.http.HttpHostConnectException: Connect to 
http://localhost:54012 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: 
Connection refused
        at java.base/sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
        at 
java.base/sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:779)
        at 
org.apache.hc.core5.reactor.InternalConnectChannel.onIOEvent(InternalConnectChannel.java:70)
        at 
org.apache.hc.core5.reactor.InternalChannel.handleIOEvent(InternalChannel.java:51)
        at 
org.apache.hc.core5.reactor.SingleCoreIOReactor.processEvents(SingleCoreIOReactor.java:176)
        at 
org.apache.hc.core5.reactor.SingleCoreIOReactor.doExecute(SingleCoreIOReactor.java:125)
        at 
org.apache.hc.core5.reactor.AbstractSingleCoreIOReactor.execute(AbstractSingleCoreIOReactor.java:92)
        at 
org.apache.hc.core5.reactor.IOReactorWorker.run(IOReactorWorker.java:44)
        at java.base/java.lang.Thread.run(Thread.java:834)
   
   [INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 20.29 
s -- in org.apache.hc.client5.testing.async.HttpIntegrationTests
   [INFO] Running org.apache.hc.client5.testing.async.ReactiveIntegrationTests
   [INFO] Running 
org.apache.hc.client5.testing.async.ReactiveIntegrationTests$H2Tls
   [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.257 
s -- in org.apache.hc.client5.testing.async.ReactiveIntegrationTests$H2Tls
   [INFO] Running 
org.apache.hc.client5.testing.async.ReactiveIntegrationTests$H2
   [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.845 
s -- in org.apache.hc.client5.testing.async.ReactiveIntegrationTests$H2
   [INFO] Running 
org.apache.hc.client5.testing.async.ReactiveIntegrationTests$Http1Tls
   [INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.518 s -- in 
org.apache.hc.client5.testing.async.ReactiveIntegrationTests$Http1Tls
   [INFO] Running 
org.apache.hc.client5.testing.async.ReactiveIntegrationTests$Http1
   [ERROR] Tests run: 10, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 
65.08 s <<< FAILURE! -- in 
org.apache.hc.client5.testing.async.ReactiveIntegrationTests$Http1
   [ERROR] 
org.apache.hc.client5.testing.async.ReactiveIntegrationTests$Http1.testConcurrentPostRequests
 -- Time elapsed: 65.01 s <<< ERROR!
   java.util.concurrent.TimeoutException: testConcurrentPostRequests() timed 
out after 60000 milliseconds
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1540)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1540)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1540)
        Suppressed: java.lang.InterruptedException
                at 
java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.reportInterruptAfterWait(AbstractQueuedSynchronizer.java:2056)
                at 
java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2090)
                at 
java.base/java.util.concurrent.ArrayBlockingQueue.take(ArrayBlockingQueue.java:417)
                at 
org.apache.hc.client5.testing.async.AbstractHttpReactiveFundamentalsTest.testConcurrentPostRequests(AbstractHttpReactiveFundamentalsTest.java:198)
                at java.base/java.lang.reflect.Method.invoke(Method.java:566)
                ... 3 more`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org
For additional commands, e-mail: dev-h...@hc.apache.org

Reply via email to