QA/Weave Test Plan/1.3/Migration
< QA | Weave Test Plan | 1.3
Jump to navigation
Jump to search
Account Migration Testing
Scenarios provided below are for testing of and around bug 568136 - Migration requires client to check for a node again after a 401.
Testing Scenarios
- Account Migration
- Create accounts with 1.3.0 on Server A (in this case, set a custom server of https://stage-auth.services.mozilla.com/)
- Ensure those accounts are properly syncing between at least 2 different clients.
- Upgrade all clients to Sync to 1.3.1
- Ensure clients still sync properly
- Run account migration to Server B (For initial testing, this will migrate from one node to another on stage)
- Again ensure the accounts are properly syncing between at least 2 different clients. (note node change in the sync logs)
- Sync during migration
- Notes: There could be race conditions here. The migration script will account for changes in timestamps. But there is a tiny hole for LDAP replication. That could cause problems. It's very unlikely we'll be able to trigger that one.
- Follow the Account Migration scenario, except, attempt to sync clients while the account migration is taking place in step 5.
- Depending on timing, the account may or may not show as being migrated.
- If the account shows as not migrated, another sync later should show migrated account.
- Upgrade of existing accounts at PHX
- Create accounts with 1.3.0 with default server (all new accounts should go to phx)
- Ensure those accounts are properly syncing between at least 2 different clients.
- Upgrade all clients to Sync to 1.3.1
- Ensure those accounts continue to properly sync between at least 2 different clients.
- 1.3.0 clients logged in during account migration
- Create accounts with 1.3.0 on Server A (in this case, set a custom server of https://stage-auth.services.mozilla.com/)
- run migration script Server A
- Attempt sync with 1.3.0 accounts. (Accounts will 401)
- Disconnect and reconnect, then sync.
- Verify sync changed server nodes
- 1.3.0 clients logged out during account migration
- Create accounts with 1.3.0 on Server A (in this case, set a custom server of https://stage-auth.services.mozilla.com/)
- Disconnect clients
- run migration script Server A
- Reconnect and attempt sync with 1.3.0 accounts.
- Verify sync changed server nodes
- Add a client after Migration
- Create an account with 1.3.1 on Server A (in this case, set a custom server of https://stage-auth.services.mozilla.com/)
- Run account migration to Server B (For initial testing, this will migrate from one node to another on stage)
- Add a second client to sync with this account
- Ensure both clients are properly syncing (note node change in the sync logs)