[
https://issues.apache.org/jira/browse/DEFT-156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13065814#comment-13065814
]
Emmanuel Lecharny commented on DEFT-156:
----------------------------------------
I haven't commit the patch, as there is some failure when running the build :
Results :
Failed tests:
timeoutManagerTest(org.deftserver.io.timeout.JMXDebuggableTimeoutManagerTest):
expected:<6> but was:<3>
Tests run: 84, Failures: 1, Errors: 0, Skipped: 0
> 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