[jboss-jira] [JBoss JIRA] Commented: (JBCACHE-929) MRU eviction algorithm test failures
Manik Surtani (JIRA)
jira-events at jboss.com
Wed Jan 10 05:27:40 EST 2007
[ http://jira.jboss.com/jira/browse/JBCACHE-929?page=comments#action_12349909 ]
Manik Surtani commented on JBCACHE-929:
---------------------------------------
>From email thread:
Guys,
I'm looking at MRUAlgorithmTest.testMRU() on HEAD, and suspect there may be a bug.
When a node added event occurs,
BaseEvictionAlgorithm.processAddedNodes() is called. If the node entry is already in the eviction queue, the timestamp and number of node visits are updated, and the method returns.
In the specific case of MRU, there is nothing here to move this node to the head of the MRUQueue, which is why the test fails.
Have I misunderstood something, or is this a genuine bug?
Also, not quite sure how it works on the 1.4.0 branch - perhaps a bug fix that was not ported to HEAD?
> MRU eviction algorithm test failures
> ------------------------------------
>
> Key: JBCACHE-929
> URL: http://jira.jboss.com/jira/browse/JBCACHE-929
> Project: JBoss Cache
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 2.0.0.ALPHA1, 2.0.0.ALPHA2
> Reporter: Manik Surtani
> Assigned To: Daniel Huang
> Fix For: 2.0.0.BETA1
>
>
> org.jboss.cache.eviction.MRUAlgorithmTest in CVS HEAD fails.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list