Services/Server/Deployments/Sync/1.5/TestPlan: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(Created page with "Here are the changes to the server for 1.5, and the general test plan for testing each of these. Once we're deployed and ready to go, we can work with QA and ops (who will need t...")
 
No edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Here are the changes to the server for 1.5, and the general test plan for testing each of these. Once we're deployed and ready to go, we can work with QA and ops (who will need to work in tandem to test most of these) to flesh out the tests below.
Here are the changes to the server for 1.5, and the general test plan for testing each of these. Once we're deployed and ready to go, we can work with QA and ops (who will need to work in tandem to test most of these) to flesh out the tests below.


'''Bug 299085 - get downed and backoff from memcache. r=tarek
vSEPARATED OUT TO NODE ALLOCATION PUSH ----------------------------
 
'''Bug 299085 - get downed and backoff from memcache. r=tarek'''
 
'''Bug 599085 - memcache-based backoff of downed nodes. r=tarek'''


Bug 599085 - memcache-based backoff of downed nodes. r=tarek
'''
Get a client synching. Have someone manually down that node, and force a sync. Expected result - a 503.
Get a client synching. Have someone manually down that node, and force a sync. Expected result - a 503.


Get a client synching. Have someone manually backoff that node, and force a sync. Expected result - 200, plus an X-Weave-Backoff header.
Get a client synching. Have someone manually backoff that node, and force a sync. Expected result - 200, plus an X-Weave-Backoff header.


'''Bug 599018 - Look for constants in memcache. r=tarek
'''Bug 599018 - Look for constants in memcache. r=tarek'''
'''
 
Basically covered by the tests for 599085. We can also remove the shard_constants.php file and the site should continue to work.
Basically covered by the tests for 599085. We can also remove the shard_constants.php file and the site should continue to work.


'''minor tweak to make sure a payload exists before getting size diff
^SEPARATED OUT TO NODE ALLOCATION PUSH ----------------------------
'''
 
 
'''minor tweak to make sure a payload exists before getting size diff'''
 
Not worth testing, other than standard functional tests to make sure nothing broke.
Not worth testing, other than standard functional tests to make sure nothing broke.


'''adding an error log on a locale failure
'''adding an error log on a locale failure'''
'''
 
This is really for external users and not a feature we need to test.
This is really for external users and not a feature we need to test.


'''Bug 609713 - remove collection counts from get_collection main call and optimize
'''Bug 609713 - remove collection counts from get_collection main call and optimize'''
'''
 
Since we're not currently looking at collection counts, this was vestigial code. We should test to make sure that the quotas, collection timestamps and tabs are working as expected (which will also test that the optimized query is correct).
Since we're not currently looking at collection counts, this was vestigial code. We should test to make sure that the quotas, collection timestamps and tabs are working as expected (which will also test that the optimized query is correct).


'''Removing TLS from LDAP connection
'''Removing TLS from LDAP connection'''
'''
 
This was already being monkeypatched on the servers, so no actual change here.
This was already being monkeypatched on the servers, so no actual change here.


'''Bug 594705 - Added the ttl field in the wbo table description - r=telliott
'''Bug 594705 - Added the ttl field in the wbo table description - r=telliott'''
'''
 
#create and upload a wbo with a ttl of, say, 5 seconds. Upload it.
#create and upload a wbo with a ttl of, say, 5 seconds. Upload it.
#Get a list of all ids for the collection you just uploaded to. The result should be there.
#Get a list of all ids for the collection you just uploaded to. The result should be there.
#Wait 5 seconds, then repeat. The result should disappear.
#Wait 5 seconds, then repeat. The result should disappear.


'''Bug 568587 - allow slashes in ids. (code=tarek, r=telliott)
'''Bug 568587 - allow slashes in ids. (code=tarek, r=telliott)'''
'''
 
Create a wbo with a / in the id. This should now upload and be retrievable through the api.
Create a wbo with a / in the id. This should now upload and be retrievable through the api.


'''Bug 595061 - rounding collections to k instead of bytes. r=tarek
'''Bug 595061 - rounding collections to k instead of bytes. r=tarek'''
'''
 
The quota pane in the client should start to work again and give sensible numbers
The quota pane in the client should start to work again and give sensible numbers


'''Authentication now looks for the account-enabled field in the LDAP backend
'''Authentication now looks for the account-enabled field in the LDAP backend'''
'''
 
#Authenticate successfully with an account
#Authenticate successfully with an account
#change account-enabled for that account in LDAP to false
#change account-enabled for that account in LDAP to false
#Authentication should fail for the account
#Authentication should fail for the account


'''Quotas
'''Quotas'''
'''
 
Have ops change the constant value for quotas to something small. See that uploads quickly hit a quota exceeded problem.
Have ops change the constant value for quotas to something small. See that uploads quickly hit a quota exceeded problem.
'''1.1 API path'''
Set services.sync.storageAPI to 1.1 in the client. Everything should continue to work normally

Latest revision as of 23:50, 16 November 2010

Here are the changes to the server for 1.5, and the general test plan for testing each of these. Once we're deployed and ready to go, we can work with QA and ops (who will need to work in tandem to test most of these) to flesh out the tests below.

vSEPARATED OUT TO NODE ALLOCATION PUSH ----------------------------

Bug 299085 - get downed and backoff from memcache. r=tarek

Bug 599085 - memcache-based backoff of downed nodes. r=tarek

Get a client synching. Have someone manually down that node, and force a sync. Expected result - a 503.

Get a client synching. Have someone manually backoff that node, and force a sync. Expected result - 200, plus an X-Weave-Backoff header.

Bug 599018 - Look for constants in memcache. r=tarek

Basically covered by the tests for 599085. We can also remove the shard_constants.php file and the site should continue to work.

^SEPARATED OUT TO NODE ALLOCATION PUSH ----------------------------


minor tweak to make sure a payload exists before getting size diff

Not worth testing, other than standard functional tests to make sure nothing broke.

adding an error log on a locale failure

This is really for external users and not a feature we need to test.

Bug 609713 - remove collection counts from get_collection main call and optimize

Since we're not currently looking at collection counts, this was vestigial code. We should test to make sure that the quotas, collection timestamps and tabs are working as expected (which will also test that the optimized query is correct).

Removing TLS from LDAP connection

This was already being monkeypatched on the servers, so no actual change here.

Bug 594705 - Added the ttl field in the wbo table description - r=telliott

  1. create and upload a wbo with a ttl of, say, 5 seconds. Upload it.
  2. Get a list of all ids for the collection you just uploaded to. The result should be there.
  3. Wait 5 seconds, then repeat. The result should disappear.

Bug 568587 - allow slashes in ids. (code=tarek, r=telliott)

Create a wbo with a / in the id. This should now upload and be retrievable through the api.

Bug 595061 - rounding collections to k instead of bytes. r=tarek

The quota pane in the client should start to work again and give sensible numbers

Authentication now looks for the account-enabled field in the LDAP backend

  1. Authenticate successfully with an account
  2. change account-enabled for that account in LDAP to false
  3. Authentication should fail for the account

Quotas

Have ops change the constant value for quotas to something small. See that uploads quickly hit a quota exceeded problem.

1.1 API path

Set services.sync.storageAPI to 1.1 in the client. Everything should continue to work normally