You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Owen Nichols (Jira)" <ji...@apache.org> on 2020/02/05 20:54:00 UTC

[jira] [Updated] (GEODE-7531) PoolManagerImpl.unregister(:Pool) naively assumes all Pool object instances are PoolImpls

     [ https://issues.apache.org/jira/browse/GEODE-7531?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Owen Nichols updated GEODE-7531:
--------------------------------
    Fix Version/s: 1.12.0

> PoolManagerImpl.unregister(:Pool) naively assumes all Pool object instances are PoolImpls
> -----------------------------------------------------------------------------------------
>
>                 Key: GEODE-7531
>                 URL: https://issues.apache.org/jira/browse/GEODE-7531
>             Project: Geode
>          Issue Type: Bug
>          Components: client/server
>    Affects Versions: 1.10.0
>         Environment: Apache Geode based applications on the JVM.
>            Reporter: John Blum
>            Assignee: Udo Kohlmeyer
>            Priority: Blocker
>             Fix For: 1.11.0, 1.12.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> A recent [change|https://github.com/apache/geode/blob/rel/v1.10.0/geode-core/src/main/java/org/apache/geode/internal/cache/PoolManagerImpl.java#L169-L174] to the {{o.a.g.internal.cache.PoolManagerImpl}} class expects all {{o.a.g.cache.client.Pools}} registered with the {{o.a.g.cache.client.PoolManager}} to be {{o.a.g.cache.client.internal.PoolImp}} objects.
> This is certainly not going to be the case for Unit Tests that properly "mock" 1 or more {{Pool}} instances and additionally needs to register the mock {{Pool}} instances with the {{PoolManager}}.  While the later may not be as common for application code, it is more certainly common, and in some cases necessary, for framework or tooling code.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)