ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Denis Magda (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-1389) GridCacheAbstractFullApiSelfTest.testWithSkipStore fails periodically on different configuration
Date Wed, 09 Sep 2015 14:02:46 GMT

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

Denis Magda commented on IGNITE-1389:
-------------------------------------

Could accomplish a stable reproduction of the issue when switched to JDK 8. 

Now the test always fails after some {cacheSkipStore.put()}} operation is executed.

The reason is that {{GridNearAtomicUpdateResponse}} is either not propagated to {{GridNearAtomicUpdateFuture.onResult(UUID
nodeId, GridNearAtomicUpdateResponse res, boolean nodeErr)}} or not sent from a primary node.

Next actions:
- check that a primary node sends {{GridNearAtomicUpdateResponse}};
- check that it's actually transferred over the wire.

If to disable a near cache the test stops failing.

> GridCacheAbstractFullApiSelfTest.testWithSkipStore fails periodically on different configuration
> ------------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-1389
>                 URL: https://issues.apache.org/jira/browse/IGNITE-1389
>             Project: Ignite
>          Issue Type: Bug
>          Components: cache
>    Affects Versions: ignite-1.4
>            Reporter: Denis Magda
>            Assignee: Denis Magda
>
> The test fails on different configurations in different places.
> As an example, this is a stack trace for {{GridCacheAtomicNearEnabledFairAffinityMultiNodeFullApiSelfTest.testWithSkipStore}}
configuration
> {noformat}
> junit.framework.AssertionFailedError: expected:<-1> but was:<21>
>     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.GridCacheAbstractFullApiSelfTest.testWithSkipStore(GridCacheAbstractFullApiSelfTest.java:4534)
>     at sun.reflect.GeneratedMethodAccessor108.invoke(Unknown Source)
>     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>     at java.lang.reflect.Method.invoke(Method.java:606)
>     at junit.framework.TestCase.runTest(TestCase.java:176)
>     at org.apache.ignite.testframework.junits.GridAbstractTest.runTestInternal(GridAbstractTest.java:1665)
>     at org.apache.ignite.testframework.junits.GridAbstractTest.access$000(GridAbstractTest.java:111)
>     at org.apache.ignite.testframework.junits.GridAbstractTest$6.run(GridAbstractTest.java:1603)
> {noformat}



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

Mime
View raw message