Removed TODO in ClientServerTest, adding a more explicative comment.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
This commit is contained in:
Simone Bordet 2023-10-20 16:36:04 +02:00
parent 8cfd20b164
commit 33e35df544
No known key found for this signature in database
GPG Key ID: 1677D141BCF3584D
1 changed files with 2 additions and 2 deletions

View File

@ -519,10 +519,10 @@ public class ClientServerTest extends AbstractClientServerTest
@Override
public void onDataAvailable(Stream.Server stream)
{
// TODO: we should not be needing this!!!
// Calling readData() triggers the read+parse
// of the trailer, and returns no data.
Stream.Data data = stream.readData();
assertNull(data);
stream.demand();
}
@Override