[ 
https://issues.apache.org/jira/browse/DEFT-156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13065820#comment-13065820
 ] 

Roger Schildmeijer commented on DEFT-156:
-----------------------------------------

Actually I forgot to alter the (previously lying) unit test. I'll make a new 
(proper) patch

> Non deterministic behaviour when multiple timeouts have exact same deadline
> ---------------------------------------------------------------------------
>
>                 Key: DEFT-156
>                 URL: https://issues.apache.org/jira/browse/DEFT-156
>             Project: Deft
>          Issue Type: Bug
>            Reporter: Roger Schildmeijer
>         Attachments: DEFT-156.patch, 
> 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.
> (Found while doing DEFT-151 (Distributed demo application (elastica))) 

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

        

Reply via email to