From: Mathieu Desnoyers Date: Wed, 22 Apr 2020 17:30:40 +0000 (-0400) Subject: Fix: Java agent: handle partial payload read X-Git-Tag: v2.13.0-rc1~509 X-Git-Url: http://git.liburcu.org/?a=commitdiff_plain;h=32974710aab75d01a8ae48d0be3641c2f56e45a9;hp=32974710aab75d01a8ae48d0be3641c2f56e45a9;p=lttng-ust.git Fix: Java agent: handle partial payload read When reading from a TCP socket, there is no guarantee that the read will return all the requested data. We need to loop and continue reading until we gather all the expected data. This fixes flakiness of the lttng-ust-java-tests. Signed-off-by: Mathieu Desnoyers ---