You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Dale Emery (JIRA)" <ji...@apache.org> on 2018/05/04 23:44:00 UTC

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

Dale Emery created GEODE-5184:
---------------------------------

             Summary: 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


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)