DESCRIPTION

CBQE-175 Parametrization for handling Create,Update and delete Views

Change-Id: I9dffe9d591ef0b4045f1071074eee56e5dd1caa9


COMMENTS

author: Trey Garner
date: 2012-06-27 00:14:41.859000000

Uploaded patch set 4.

-------------------------------------
author: Hugo Blankenship
date: 2012-06-27 00:24:50.786000000

Patch Set 4:

Build Started http://qa.hq.northscale.net/job/testrunner-Jasmin Rangel-master/1204/ 

-------------------------------------
author: Hugo Blankenship
date: 2012-06-27 00:36:39.311000000

Patch Set 4: Verified

Build Successful 

http://qa.hq.northscale.net/job/testrunner-Jasmin Rangel-master/1204/ : SUCCESS

-------------------------------------
author: Titus Ho
date: 2012-06-27 01:42:39.185000000

Patch Set 4: (5 inline comments)



Line:99, pytests/view/createdeleteview.py -> invalid_view_name_list = ["", "#","{"",'V'*2000]

Instead of append.  Also, this should be defined in view_base.py for use in other invalid tests.

Line:103, pytests/view/createdeleteview.py -> If this doesn't throw exception test should be set to fail:

self.fail("server allowed creation of invalid view")

Line:117, pytests/view/createdeleteview.py -> ws

Line:198, pytests/view/createdeleteview.py -> for task in create_tasks + tasks:
    task.result()

Line:209, pytests/view/createdeleteview.py -> this test can be consolidated with previous test that does parameterized ops in parallel…except this time passing in 2 ops:
ddoc_ops = ["update", "delete"]

for op in ddoc_ops:
   task = self._async_execute_ddoc_ops('default', op, ...)

-------------------------------------
