<< Back to previous view

[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
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
Participants: dannycoward, Martin Matula and Pavel Bucek


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 12:07 AM ]

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 04:57 PM ]

obsolete; test needs to be updated & un@Ignored

Comment by Pavel Bucek [ 18/Mar/13 04:00 PM ]

already fixed

Generated at Fri Apr 18 23:52:43 UTC 2014 using JIRA 4.0.2#472.