DESCRIPTION

CBQE-2485:: Integrate python SDK to testrunner

Including the python sdk gives us the advantage of finding more bugs within the sdk, plus uses it stability for testrunner. 

In addition, it gives us additional functionality. 

As can seen below the functionality not supported by the python client are very few and can be added by requesting the devs.

Difference between python sdk and current mc_bin_client
1) Common possible operations: delete, add, set, get, getr, get_multi, delete, observe, replace, incr, decr, sync_mutation, sync_persistence, cas, getl
2) Operations only in Python SDK: 
- multi operations (getr, delete, set, observe, replace, incr, decr, add). 
- Has support for views and querying. 
- In Sherlock we will have support for n1ql and 2i operations as well. 
- Has the ability to be quiet on errors
- Is more stable during vbucket moves as compared to mc_bin_client based implementations which give us memcached errors (false alarms)
- Different transcoder can be used
3)Operations only in mc_bin_client: 
- getMeta which gets us rev id
- noop operation
- Setting flags is direct meanwhile Python SDK can set flags by choosing a data format.

Some tests that check our implementation
 ./testrunner -i ../palm.ini  -t sdk_client_tests.sdk_client_tests.SDKClientTests.test_sdk_client,items=3

Also, we will make a major change to resolve conflict with lib/couchbase with couchbase (python sdk based). This will involve changes to a lot of files in testrunner.


Change-Id: Ifb70c26b14c64ee537b5f228bd2da05adf5778a9


COMMENTS

author: Quentin Ali
date: 2014-11-23 22:57:39.676000000

Patch Set 10: Commit message was updated

-------------------------------------
author: Jasmin Rangel
date: 2014-11-23 22:57:40.364000000

Patch Set 10:

New patchset patch-id matches previous patchset, but commit message has changed.

-------------------------------------
author: Hugo Blankenship
date: 2014-11-23 22:57:44.348000000

Patch Set 10:

Build Started http://factory.couchbase.com/job/testrunner-Jasmin Rangel-master/3123/

-------------------------------------
author: Hugo Blankenship
date: 2014-11-23 23:13:55.982000000

Patch Set 10: Verified+1

Build Successful 

http://factory.couchbase.com/job/testrunner-Jasmin Rangel-master/3123/ : SUCCESS

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