You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Kirk Lund (JIRA)" <ji...@apache.org> on 2017/12/20 19:22:00 UTC
[jira] [Resolved] (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 ]
Kirk Lund resolved GEODE-4117.
------------------------------
Resolution: Fixed
Fix Version/s: 1.4.0
> 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
> 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
(v6.4.14#64029)