[TYRUS-50] BlockingBinaryTest receiving chunks out of order Created: 26/Oct/12  Updated: 18/Mar/13  Resolved: 18/Mar/13

Status: Resolved
Project: tyrus
Component/s: None
Affects Version/s: None
Fix Version/s: 1.0-b14, 1.0

Type: Bug Priority: Major
Reporter: Martin Matula Assignee: Pavel Bucek
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
depends on TYRUS-116 Implement proper handling of Reader a... Resolved


I had to ignore this test since it is receiving chunks of message parts in a different order than they were sent - this is because AsyncBinaryToOutputStreamAdapter spawns a new thread for each message part so the order is not guaranteed. For now I have added @Ignore to the test.

Comment by dannycoward [ 30/Oct/12 ]

I can't reproduce this in my own workspace, but will look into it further now I have the Hudson builds.

I've corrected the number of threads issue. Now exactly one is spawned. I suspect this only occurs when the server calls back the client on the same callback thread it resulting from a client call.

The same issue will hold for the BlockingTextStream and PingPong tests too.

Comment by Pavel Bucek [ 08/Mar/13 ]

obsolete; test needs to be updated & un@Ignored

Comment by Pavel Bucek [ 18/Mar/13 ]

already fixed

Generated at Sun Aug 28 07:58:49 UTC 2016 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.