Non deterministic behaviour when multiple timeouts has exact same deadline
--------------------------------------------------------------------------

                 Key: DEFT-156
                 URL: https://issues.apache.org/jira/browse/DEFT-156
             Project: Deft
          Issue Type: Bug
            Reporter: Roger Schildmeijer
         Attachments: Unit+test+for+multiple+timeouts+with+same+deadline.patch

If 2,...n timeout has exact same (timeout) deadline weird things starts to 
happen. (e.g wrong timeouts might get removed from the collection of timeouts). 
See attached unit test that currently fails on trunk.

My qualified guess is that the problem is because of DecoratedTimeout.compareTo 
(DecoratedTimeout is a private in JMXDTM).
I think the current design is bad so feel free to propose/implement a better 
solution.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to