DESCRIPTION

CBQE-2245:: Add tests to check data distribution

Change-Id: I38bd4deb1c10bd7b695d98b339b6513ac505774b


COMMENTS

author: Quentin Ali
date: 2014-05-13 23:30:44.340000000

Uploaded patch set 6.

-------------------------------------
author: Hugo Blankenship
date: 2014-05-13 23:30:49.743000000

Patch Set 6:

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

-------------------------------------
author: Quentin Ali
date: 2014-05-13 23:35:20.675000000

Patch Set 6:

The test measures the distribution of data 
- finds mean, max, min, std, sum 
- it verifies total items and std per expectation
- we can pass upper limit on std via test parameter
- will work in cluster runner based tests
- uses cbtransfer and works for couchbase versions 3.0.0 only

Usage::  ./testrunner -i ~/systest-worker/testrunner/palm.ini -t analysis.clusterinfoanalysis.DataAnalysisTests.test_data_distribution,items=1000,upr=True,vbuckets=32

This will help us test distribution of data sets when not using particular vbuckets. Can be used in ep-engine tests, rebalance and failover to measure the distribution of data. More complexity can be added. This patch covers the basic scenario.

-------------------------------------
author: Hugo Blankenship
date: 2014-05-14 00:02:45.536000000

Patch Set 6: Verified+1

Build Successful 

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

-------------------------------------
author: Quentin Ali
date: 2014-05-14 03:23:22.646000000

Patch Set 6: Verified+1 Code-Review+2

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