You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Artem Shutak (JIRA)" <ji...@apache.org> on 2015/03/26 11:04:53 UTC

[jira] [Created] (IGNITE-607) [Test] Extra read events and reads in metrics for PARTITIONED_ONLY cache

Artem Shutak created IGNITE-607:
-----------------------------------

             Summary: [Test] Extra read events and reads in metrics for PARTITIONED_ONLY cache
                 Key: IGNITE-607
                 URL: https://issues.apache.org/jira/browse/IGNITE-607
             Project: Ignite
          Issue Type: Bug
            Reporter: Artem Shutak
            Assignee: Yakov Zhdanov
             Fix For: sprint-3


See GG-7578.

Need to check, may be issue have been already fixed, because linked tests pass now (failed before):
- GridCacheEventAbstractTest #testGetPutRemove and #testGetPutRemoveAsync

To reproduce run GridCachePartitionedMetricsSelfTest and GridCachePartitionedEventSelfTest with PARTITIONED_ONLY cache.

GridCachePartitionedMetricsSelfTest:
{noformat}
junit.framework.AssertionFailedError: 
Expected :75
Actual   :150
 <Click to see difference>
	at org.gridgain.grid.kernal.processors.cache.GridCacheAbstractMetricsSelfTest.testMisses(GridCacheAbstractMetricsSelfTest.java:164)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at org.gridgain.testframework.junits.GridAbstractTest.runTestInternal(GridAbstractTest.java:1253)
	at org.gridgain.testframework.junits.GridAbstractTest.access$000(GridAbstractTest.java:60)
	at org.gridgain.testframework.junits.GridAbstractTest$4.run(GridAbstractTest.java:1198)
{noformat}

GridCachePartitionedEventSelfTest:
{noformat}
class org.gridgain.grid.GridException: Wrong event count [evtName=CACHE_OBJECT_READ, evtType=64, expCnt=3, actCnt=7, partitioned=true]
For more information see:
    Troubleshooting:      http://bit.ly/GridGain-Troubleshooting
    Documentation Center: http://bit.ly/GridGain-Documentation

	at org.gridgain.grid.kernal.processors.cache.distributed.GridCacheEventAbstractTest$EventTypeFuture.onEvent(GridCacheEventAbstractTest.java:942)
	at org.gridgain.grid.kernal.processors.cache.distributed.GridCacheEventAbstractTest$TestEventListener.waitForEventCount(GridCacheEventAbstractTest.java:863)
	at org.gridgain.grid.kernal.processors.cache.distributed.GridCacheEventAbstractTest$TestEventListener.access$300(GridCacheEventAbstractTest.java:759)
	at org.gridgain.grid.kernal.processors.cache.distributed.GridCacheEventAbstractTest.waitForEvents(GridCacheEventAbstractTest.java:109)
	at org.gridgain.grid.kernal.processors.cache.distributed.GridCacheEventAbstractTest.runTest(GridCacheEventAbstractTest.java:165)
	at org.gridgain.grid.kernal.processors.cache.distributed.GridCacheEventAbstractTest.testGetPutRemove(GridCacheEventAbstractTest.java:224)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
{noformat}



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