rschmitt commented on code in PR #648:
URL: 
https://github.com/apache/httpcomponents-client/pull/648#discussion_r2138292205


##########
httpclient5-testing/src/main/java/org/apache/hc/client5/testing/async/AsyncRandomHandler.java:
##########
@@ -192,6 +216,10 @@ public int availableData() {
 
         @Override
         protected void produceData(final StreamChannel<ByteBuffer> channel) 
throws IOException {
+            if (System.currentTimeMillis() < deadline) {
+                return;
+            }

Review Comment:
   Yeah, I noticed this. Like you said, it's probably fine for an integration 
test.



-- 
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