You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2018/05/10 17:15:00 UTC

[jira] [Commented] (GEODE-5184) Add tests for PersistentInitialImageAdvisor

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

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

Commit 3827332f19acc355621426880084de741972dcda in geode's branch refs/heads/develop from [~demery]
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=3827332 ]

GEODE-5184 Add unit tests for PersistenceInitialImageAdvisor (#1934)



> Add tests for PersistentInitialImageAdvisor
> -------------------------------------------
>
>                 Key: GEODE-5184
>                 URL: https://issues.apache.org/jira/browse/GEODE-5184
>             Project: Geode
>          Issue Type: Test
>          Components: persistence
>            Reporter: Dale Emery
>            Assignee: Dale Emery
>            Priority: Minor
>              Labels: pull-request-available
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> h2. Test Cases
> *Condition*: replicates && disk image && at least one equal
>  *Result*: return advice with empty replicates (load from disk)
> *Condition*: replicates && disk image && none equal
>  *Results*:
>  * clear equal members
>  * return advice with all replicates (attempt GII)
> *Condition*: replicates && no disk image
>  *Results*: return advice with all replicates (attempt GII)
> *Condition*: no replicates && non-persistent
>  *Result*: update membership view from non-persistent
> *Condition*: no replicates && previous replicates
>  *Results*:
>  * clear previous advice
>  * fetch new advice from cache distribution advisor (which will have replicates)
>  * react to new advice
> *Condition*: no replicates && no previous replicates && members to wait for
>  *Result*: return advice from cache distribution advisor
> *Additional test scenarios TBD*:
>  * no replicates && no previous replicates && members to wait for



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)