You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Semen Boikov (JIRA)" <ji...@apache.org> on 2015/09/24 14:59:04 UTC

[jira] [Commented] (IGNITE-1540) Unexpected cache value in IgniteCacheSslStartStopSelfTest.testInvokeAll

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

Semen Boikov commented on IGNITE-1540:
--------------------------------------

Found reason for this failure: when GridDhtAtomicUpdateFuture is cancelled on node stop its onDone method ignores 'err' argument, after this stopping node can send successfull response even if dht nodes were not really updated. 

Fixed GridDhtAtomicUpdateFuture.onDone to handle 'err' argument (commit 1056a31).

> Unexpected cache value in IgniteCacheSslStartStopSelfTest.testInvokeAll
> -----------------------------------------------------------------------
>
>                 Key: IGNITE-1540
>                 URL: https://issues.apache.org/jira/browse/IGNITE-1540
>             Project: Ignite
>          Issue Type: Sub-task
>          Components: cache
>            Reporter: Semen Boikov
>            Assignee: Semen Boikov
>            Priority: Critical
>             Fix For: ignite-1.5
>
>
> Test IgniteCacheSslStartStopSelfTest.testInvokeAll sometimes fails on TC (cache.get returns old value after update):
> {noformat}
> unit.framework.AssertionFailedError: expected:<30> but was:<29>
>     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:86)
>     at junit.framework.TestCase.assertEquals(TestCase.java:253)
>     at org.apache.ignite.internal.processors.cache.distributed.dht.IgniteCachePutRetryAbstractSelfTest.checkRetry(IgniteCachePutRetryAbstractSelfTest.java:403)
>     at org.apache.ignite.internal.processors.cache.distributed.dht.IgniteCachePutRetryAbstractSelfTest.testInvokeAll(IgniteCachePutRetryAbstractSelfTest.java:214)
> {noformat}



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