You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Roman Kondakov (JIRA)" <ji...@apache.org> on 2019/03/15 13:55:00 UTC

[jira] [Commented] (IGNITE-10769) MVCC: CacheMvccContinuousQueryClientTest.testNodeJoinsRestartQuery fails sometimes

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

Roman Kondakov commented on IGNITE-10769:
-----------------------------------------

The problem was in invocation of method {{GridCommonAbstractTest#primaryKey}} immediately after the starting a new node. This method could return no keys in the case when late affinity assignment is not marked new node's partitions as a primary. 
The fix was in waiting for ideal affinity assignment before calling {{GridCommonAbstractTest#primaryKey}}.
The fix concerns the test classes only, so the "RunAll" suite wasn't run. Two dependent tests suites runs are below. Waiting for results.
[https://ci.ignite.apache.org/viewQueued.html?itemId=3323048&tab=queuedBuildOverviewTab]
[https://ci.ignite.apache.org/viewQueued.html?itemId=3323046&tab=queuedBuildOverviewTab]

> MVCC: CacheMvccContinuousQueryClientTest.testNodeJoinsRestartQuery fails sometimes
> ----------------------------------------------------------------------------------
>
>                 Key: IGNITE-10769
>                 URL: https://issues.apache.org/jira/browse/IGNITE-10769
>             Project: Ignite
>          Issue Type: Bug
>          Components: mvcc
>            Reporter: Roman Kondakov
>            Assignee: Roman Kondakov
>            Priority: Major
>              Labels: CQ, mvcc_stability
>             Fix For: 2.8
>
>
> Test {{CacheMvccContinuousQueryClientTest.testNodeJoinsRestartQuery}} fails sometimes.
> {noformat}
> class org.apache.ignite.IgniteException: Unable to find 1 requied keys.
> 	at org.apache.ignite.testframework.junits.common.GridCommonAbstractTest.findKeys(GridCommonAbstractTest.java:1128)
> 	at org.apache.ignite.testframework.junits.common.GridCommonAbstractTest.primaryKeys(GridCommonAbstractTest.java:1071)
> 	at org.apache.ignite.testframework.junits.common.GridCommonAbstractTest.primaryKey(GridCommonAbstractTest.java:1343)
> 	at org.apache.ignite.internal.processors.cache.query.continuous.IgniteCacheContinuousQueryClientTest.testNodeJoinsRestartQuery(IgniteCacheContinuousQueryClientTest.java:185)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:498)
> 	at junit.framework.TestCase.runTest(TestCase.java:176)
> 	at org.apache.ignite.testframework.junits.GridAbstractTest.access$001(GridAbstractTest.java:149)
> 	at org.apache.ignite.testframework.junits.GridAbstractTest$6.evaluate(GridAbstractTest.java:2106)
> 	at org.apache.ignite.testframework.junits.GridAbstractTest$7.run(GridAbstractTest.java:2123)
> 	at java.lang.Thread.run(Thread.java:748)
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)