geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GEODE-128) Many expiration unit tests take too long to run on any type of PartitionedRegion
Date Thu, 16 Jul 2015 00:10:04 GMT

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

ASF subversion and git services commented on GEODE-128:
-------------------------------------------------------

Commit 0cb9cf77ef92a44ca6f0ed69f8fc247e7cc9b55c in incubator-geode's branch refs/heads/feature/GEODE-128
from [~dschneider]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-geode.git;h=0cb9cf7 ]

GEODE-128: fix expiration tests to run faster with PR regions

Slowdown was caused by the test hook EXPIRY_UNITS_MS not being set
to true on a BucketRegion. BucketRegion does all the expiration on
a PR. The test was setting it on the bucket's parent but not no the
bucket itself. Bucket's now defer to their parent when initializing
this final field.


> Many expiration unit tests take too long to run on any type of PartitionedRegion
> --------------------------------------------------------------------------------
>
>                 Key: GEODE-128
>                 URL: https://issues.apache.org/jira/browse/GEODE-128
>             Project: Geode
>          Issue Type: Bug
>            Reporter: Darrel Schneider
>            Assignee: Darrel Schneider
>            Priority: Minor
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> Here are some of the unit tests I noticed are taking too long to run:testCustomEntryIdleTimeout1
40 sec	Passed
> testCustomEntryIdleTimeout2	40 sec	Passed
> testCustomEntryTtl2	40 sec	Passed
> testEntryExpirationAfterMutate	40 sec	Passed
> testExtendedKeysValues	33 sec	Passed
> testCustomEntryTtl1	20 sec	Passed
> testEntryTtlInvalidate	20 sec	Passed
> These are all on PartitionedRegionDUnitTest. For non PR regions I see these same test
methods only take 200ms.



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

Mime
View raw message