You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Alexander Paschenko (JIRA)" <ji...@apache.org> on 2016/06/23 18:15:16 UTC

[jira] [Commented] (IGNITE-1088) [Multi jvm] Full api test which test store.

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

Alexander Paschenko commented on IGNITE-1088:
---------------------------------------------

I've written the code to support H2 based storage and tried it, but my multi JVM tests fail with the following stack trace:

{code}
class org.apache.ignite.IgniteException: Timeout of waiting for topology map update [grid=multijvm.GridCacheAtomicMultiJvmFullApiSelfTest0, cache=ignite-atomics-sys-cache, cacheId=689859866, topVer=AffinityTopologyVersion [topVer=4, minorTopVer=0], p=0, readVer=AffinityTopologyVersion [topVer=4, minorTopVer=0], locNode=TcpDiscoveryNode [id=20a5ed31-9d6d-455a-a56c-2afbc4e00000, addrs=[127.0.0.1], sockAddrs=[/127.0.0.1:47500], discPort=47500, order=1, intOrder=1, lastExchangeTime=1466705027696, loc=true, ver=1.7.0#19700101-sha1:00000000, isClient=false]]

	at org.apache.ignite.testframework.junits.common.GridCommonAbstractTest.awaitPartitionMapExchange(GridCommonAbstractTest.java:521)
	at org.apache.ignite.testframework.junits.common.GridCommonAbstractTest.awaitPartitionMapExchange(GridCommonAbstractTest.java:423)
	at org.apache.ignite.internal.processors.cache.GridCacheAbstractSelfTest.beforeTestsStarted(GridCacheAbstractSelfTest.java:117)
	at org.apache.ignite.internal.processors.cache.GridCacheAbstractFullApiSelfTest.beforeTestsStarted(GridCacheAbstractFullApiSelfTest.java:228)
	at org.apache.ignite.testframework.junits.GridAbstractTest.setUp(GridAbstractTest.java:546)
	at org.apache.ignite.testframework.junits.common.GridCommonAbstractTest.setUp(GridCommonAbstractTest.java:388)
	at junit.framework.TestCase.runBare(TestCase.java:139)
{code}
Any sugggestions on what could be the reason of such behavior are welcome.

> [Multi jvm] Full api test which test store.
> -------------------------------------------
>
>                 Key: IGNITE-1088
>                 URL: https://issues.apache.org/jira/browse/IGNITE-1088
>             Project: Ignite
>          Issue Type: Task
>            Reporter: Artem Shutak
>            Assignee: Alexander Paschenko
>              Labels: Muted_test
>
> Next tests use a store which actually is {{ConcurrentMap}}. Need to use some place for storage which will be available from several jvms (file, db or etc.).
> testRemoveAllSkipStore
> testWithSkipStore	
> testWithSkipStoreRemoveAll	
> testWriteThroughTx
> See also all tests which use {{putToStore}} method.



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