You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Swapnil Bawaskar (JIRA)" <ji...@apache.org> on 2018/02/01 22:52:52 UTC
[jira] [Closed] (GEODE-4117) CacheXmlParserJUnitTest time-to-run
can be reduced
[ https://issues.apache.org/jira/browse/GEODE-4117?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Swapnil Bawaskar closed GEODE-4117.
-----------------------------------
> CacheXmlParserJUnitTest time-to-run can be reduced
> --------------------------------------------------
>
> Key: GEODE-4117
> URL: https://issues.apache.org/jira/browse/GEODE-4117
> Project: Geode
> Issue Type: Improvement
> Components: tests
> Reporter: Kirk Lund
> Assignee: Kirk Lund
> Priority: Major
> Fix For: 1.4.0
>
>
> CacheXmlParserJUnitTest time-to-run can be reduced by 92,844% from about 2 minutes to about 2 seconds with the following change:
> {noformat}
> diff --git a/geode-core/src/test/resources/org/apache/geode/internal/cache/xmlcache/CacheXmlParserJUnitTest.testSimpleClientCacheXml.cache.xml b/geode-core/src/test/resources/org/apache/geode/internal/cache/xmlcache/CacheXmlParserJUnitTest.testSimpleClientCacheXml.cache.xml
> index 0a76a77c8..8c648c359 100644
> --- a/geode-core/src/test/resources/org/apache/geode/internal/cache/xmlcache/CacheXmlParserJUnitTest.testSimpleClientCacheXml.cache.xml
> +++ b/geode-core/src/test/resources/org/apache/geode/internal/cache/xmlcache/CacheXmlParserJUnitTest.testSimpleClientCacheXml.cache.xml
> @@ -22,7 +22,7 @@
> version="1.0">
>
> <pool name="sessions" subscription-enabled="true">
> - <server host="1.2.3.4" port="11211" />
> + <server host="127.0.0.1" port="11211" />
> </pool>
> </client-cache>
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)