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

Andrey Gura edited comment on IGNITE-2013 at 11/26/15 7:09 PM:
---------------------------------------------------------------

{{containsKey}} invocation leads to evicition policy notification in case of 
{{PARTITIONED}} cache and firing of {{EVT_CACHE_ENTRY_EVICTED}} event. This 
events affects the next test iteration.

Fixed https://github.com/apache/ignite/pull/269


was (Author: agura):
Fixed https://github.com/apache/ignite/pull/269

> [Test failed] GridCacheEvictionLockUnlockSelfTest.testPartitioned test fails 
> sometimes
> --------------------------------------------------------------------------------------
>
>                 Key: IGNITE-2013
>                 URL: https://issues.apache.org/jira/browse/IGNITE-2013
>             Project: Ignite
>          Issue Type: Test
>            Reporter: Andrey Gura
>            Assignee: Andrey Gura
>             Fix For: 1.5
>
>
> {{GridCacheEvictionLockUnlockSelfTest.testPartitioned}} fails sometimes.
> {noformat}
> junit.framework.AssertionFailedError: expected:<3> but was:<2>
>     at junit.framework.Assert.fail(Assert.java:57)
>     at junit.framework.Assert.failNotEquals(Assert.java:329)
>     at junit.framework.Assert.assertEquals(Assert.java:78)
>     at junit.framework.Assert.assertEquals(Assert.java:234)
>     at junit.framework.Assert.assertEquals(Assert.java:241)
>     at junit.framework.TestCase.assertEquals(TestCase.java:409)
>     at 
> org.apache.ignite.internal.processors.cache.eviction.GridCacheEvictionLockUnlockSelfTest.doTest(GridCacheEvictionLockUnlockSelfTest.java:142)
>     at 
> org.apache.ignite.internal.processors.cache.eviction.GridCacheEvictionLockUnlockSelfTest.testPartitioned(GridCacheEvictionLockUnlockSelfTest.java:118)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to