MB-100: new ini for view query tests

Change-Id: I4f58a50cdf138ce938ed2729c4ae34738ddfcc8a
Reviewed-on: http://review.couchbase.org/20042
Reviewed-by: Iryna Mironava <irynamironava@yandex.ru>
Tested-by: Iryna Mironava <irynamironava@yandex.ru>
MB-100: added ini file for views

Change-Id: Iac2498d41c93b8730a8a340a32ba35d8dfa0a4a0
Reviewed-on: http://review.couchbase.org/20043
Reviewed-by: Iryna Mironava <irynamironava@yandex.ru>
Tested-by: Iryna Mironava <irynamironava@yandex.ru>
CBQE-477/CBQE-480 - New ini file for failover (6 nodes)

Change-Id: Ib248172a5b3902a62a307fd5cc15e10bc7eb1318
Reviewed-on: http://review.couchbase.org/20044
Reviewed-by: abhinav dangeti <abhinav.dangeti@gmail.com>
Tested-by: abhinav dangeti <abhinav.dangeti@gmail.com>
MB-100: fixed an ip

Change-Id: I2ff23747721943ae01a0f514165e0267f0ba12cf
Reviewed-on: http://review.couchbase.org/20049
Reviewed-by: Iryna Mironava <irynamironava@yandex.ru>
Tested-by: Iryna Mironava <irynamironava@yandex.ru>
MB-100: mixed large conf

Change-Id: I7c7a92fc7aba842c15773dd336877f9d30814c48
Reviewed-on: http://review.couchbase.org/20051
Reviewed-by: Ronnie Sun <ronnie@couchbase.com>
Tested-by: Ronnie Sun <ronnie@couchbase.com>
MB-100: reb conf

Change-Id: I3c030c495911f723e4627162343e3ee4274c2d12
Reviewed-on: http://review.couchbase.org/20053
Reviewed-by: Ronnie Sun <ronnie@couchbase.com>
Tested-by: Ronnie Sun <ronnie@couchbase.com>
MB-100: add additional fragmentation_monitor.state check

for tests rebalance_in/out_with_ddoc_compaction added aditional verification:
if end_time < time.time() and fragmentation_monitor.state != "FINISHED":

Change-Id: I1630289cf886118279d31d31e2e5518b8bdf8895
Reviewed-on: http://review.couchbase.org/20056
Reviewed-by: Andrei Baranouski <andrei.baranouski@gmail.com>
Tested-by: Andrei Baranouski <andrei.baranouski@gmail.com>
MB-100: wrong logic in has_next for ValidateDataTask

correct:
if self.itr < (self.num_valid_keys + self.num_deleted_keys) and\
            self.itr < self.max_verify:
            return True
        return False

Change-Id: Ic5829d4d52566caaacf60d7ac0eafe80c803a5d8
Reviewed-on: http://review.couchbase.org/20057
Reviewed-by: Andrei Baranouski <andrei.baranouski@gmail.com>
Tested-by: Andrei Baranouski <andrei.baranouski@gmail.com>
CBQE-521: add to perform_verify_queries possibility to check part of queries

 for tests with big data, limit, etc.

Change-Id: I9e0583a10c34311639b0312f94e108926b08c493
Reviewed-on: http://review.couchbase.org/20058
Reviewed-by: Andrei Baranouski <andrei.baranouski@gmail.com>
Tested-by: Andrei Baranouski <andrei.baranouski@gmail.com>
CBQE-522: adapt rebalance tests for large data and faster environment

with fast nodes warmup is enought fast and we don't get failed rebalance
use limit param for view queries with stale=false

Change-Id: I4db763c162a0c4d63f4daf21d24a3464c705a7c3
Reviewed-on: http://review.couchbase.org/20060
Reviewed-by: Andrei Baranouski <andrei.baranouski@gmail.com>
Tested-by: Andrei Baranouski <andrei.baranouski@gmail.com>
MB-100: wrong brackets in MonitorActiveTask

Change-Id: If5e6c1f3a708da946bea0e79d39ddd48aed5afc4
Reviewed-on: http://review.couchbase.org/20068
Reviewed-by: Andrei Baranouski <andrei.baranouski@gmail.com>
Tested-by: Andrei Baranouski <andrei.baranouski@gmail.com>
MB-100: reb conf

Change-Id: I0bff19b981bb9aaea4c7c74fb2357e47b7504738
Reviewed-on: http://review.couchbase.org/20069
Reviewed-by: Ronnie Sun <ronnie@couchbase.com>
Tested-by: Ronnie Sun <ronnie@couchbase.com>
MB-100 Adjusting num_items in create view conf files

Change-Id: I71c539cf2fa41c75ca1a8b3f6389a676d9a3bd43
Reviewed-on: http://review.couchbase.org/20070
Reviewed-by: Deepkaran Salooja <deepkaran.salooja@globallogic.com>
Tested-by: Deepkaran Salooja <deepkaran.salooja@globallogic.com>
MB-100 Increase timeout in ViewQueryTask

Tests are now running with 1M items and full_set queries timeout
due to this

Change-Id: Id6f9aefa6d5420acc84068e5c51f104da528bfc2
Reviewed-on: http://review.couchbase.org/20072
Reviewed-by: Iryna Mironava <irynamironava@yandex.ru>
Tested-by: Deepkaran Salooja <deepkaran.salooja@globallogic.com>
MB-100:  decrease the number of items for incremental tests

swap tests up
kvstore is limited in the amount of data now

Change-Id: I60e33abcad9400542c51c053e3f810a16bea103c
Reviewed-on: http://review.couchbase.org/20082
Reviewed-by: Andrei Baranouski <andrei.baranouski@gmail.com>
Tested-by: Andrei Baranouski <andrei.baranouski@gmail.com>
MB-100: added reb confs

Change-Id: I02fd6eea8eda018b438a926344c1bd02ff057d1b
Reviewed-on: http://review.couchbase.org/20086
Reviewed-by: Ronnie Sun <ronnie@couchbase.com>
Tested-by: Ronnie Sun <ronnie@couchbase.com>
MB-100: reb conf cleanup

Change-Id: I16d39c4eae9b03e90757fe6bc90ec807261eaed7
Reviewed-on: http://review.couchbase.org/20087
Reviewed-by: Ronnie Sun <ronnie@couchbase.com>
Tested-by: Ronnie Sun <ronnie@couchbase.com>
MB-100: fix for AttributeError

'ServerUnavailableException' object has no attribute 'find'

Change-Id: I414c0ce674f54fe6e3f962eaa00e7996872c817d
Reviewed-on: http://review.couchbase.org/20085
Reviewed-by: Andrei Baranouski <andrei.baranouski@gmail.com>
Tested-by: Iryna Mironava <irynamironava@yandex.ru>
MB-100: change data_path in ini for view regression

Change-Id: I25765aa7842639cb87ca6b75721f7e6971c7f458
Reviewed-on: http://review.couchbase.org/20091
Reviewed-by: Iryna Mironava <irynamironava@yandex.ru>
Tested-by: Iryna Mironava <irynamironava@yandex.ru>
MB-100: add sleep to wait to server start

Change-Id: I9c691760efef477f4122baa2f1344353d94c0529
Reviewed-on: http://review.couchbase.org/20093
Reviewed-by: Andrei Baranouski <andrei.baranouski@gmail.com>
Tested-by: Iryna Mironava <irynamironava@yandex.ru>