[
https://issues.apache.org/jira/browse/IGNITE-10591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16723843#comment-16723843
]
ASF GitHub Bot commented on IGNITE-10591:
-----------------------------------------
GitHub user AMashenkov opened a pull request:
https://github.com/apache/ignite/pull/5690
IGNITE-10591: Fix region metrics test.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/gridgain/apache-ignite ignite-10591
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/ignite/pull/5690.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #5690
----
commit 74db58b07594d5cb580550e7443d98330592d628
Author: Andrey V. Mashenkov <andrey.mashenkov@...>
Date: 2018-12-18T08:58:05Z
IGNITE-10591: Fix region metrics test.
----
> MVCC: Incorrect data region metrics.
> ------------------------------------
>
> Key: IGNITE-10591
> URL: https://issues.apache.org/jira/browse/IGNITE-10591
> Project: Ignite
> Issue Type: Bug
> Components: mvcc, persistence
> Reporter: Andrew Mashenkov
> Assignee: Andrew Mashenkov
> Priority: Major
>
> IgnitePdsDataRegionMetricsTest.testMemoryUsageSingleNode failed.
> {noformat}
> junit.framework.AssertionFailedError: Number of allocated pages is different
> than in metrics for [node=db.IgnitePdsDataRegionMetricsTest0, cache=default]
> expected:<13542> but was:<13881>
> 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:159)
> at junit.framework.TestCase.assertEquals(TestCase.java:316)
> at
> org.apache.ignite.internal.processors.cache.persistence.db.IgnitePdsDataRegionMetricsTest.checkMetricsConsistency(IgnitePdsDataRegionMetricsTest.java:337)
> at
> org.apache.ignite.internal.processors.cache.persistence.db.IgnitePdsDataRegionMetricsTest.testMemoryUsageSingleNode(IgnitePdsDataRegionMetricsTest.java:155){noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)