The GitHub Actions job "Java CI" on commons-io.git/master has failed.
Run started by GitHub user garydgregory (triggered by garydgregory).

Head commit for run:
fd10fed8ffd816f8e52fba0328f3522693cdd2e1 / maxxedev 
<5051664+maxxe...@users.noreply.github.com>
QueueInputStream reads all but the first byte without waiting. (#748)

* QueueInputStream reads all but the first byte without waiting.

Fix so that bulk reads avoid getting stuck if a timeout is set
and at least one byte is available.

* Call BlockingQueue::drainTo for improved performance

* Refactor bulk read

* Add benchmark for `QueueInputStream/QueueOutputStream`

Adds a small benchmark to measure how much time does it take to transfer
1 MiB from a `QueueOutputStream` to a `QueueInputStream`.

* More optimizations on bulk read

* Improve test coverage

* Add missing Javadoc since tag

* Use final

Reduce vertical whitespace

* Use the exact same invariant checks as the JDK superclass

Add missing Javadoc `@param` tag

* Update src/main/java/org/apache/commons/io/input/QueueInputStream.java

Co-authored-by: Piotr P. Karwasz <pi...@github.copernik.eu>

* Update src/main/java/org/apache/commons/io/input/QueueInputStream.java

* improve tests

* improve test

---------

Co-authored-by: Piotr P. Karwasz <pkarwasz-git...@apache.org>
Co-authored-by: Gary Gregory <garydgreg...@users.noreply.github.com>
Co-authored-by: Piotr P. Karwasz <pi...@github.copernik.eu>

Report URL: https://github.com/apache/commons-io/actions/runs/15190045959

With regards,
GitHub Actions via GitBox

Reply via email to