Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

CBQE-547 Multi-Get doesn't work for backup/restore verificaiton

Change-Id: Idd7609f9ac5e4e97a0270160126b90d5d3d46529
Reviewed-on: http://review.couchbase.org/22607
Reviewed-by: Chisheng Hong <chisheng@couchbase.com>
Tested-by: Chisheng Hong <chisheng@couchbase.com>
  • Loading branch information...
commit 5ae3ec4299fa65f4b247dd568d00080ca0544d87 1 parent 2be8935
@duncanhong duncanhong authored
View
4 pytests/backup/backup_base.py
@@ -90,7 +90,7 @@ def verify_results(self, server, kv_store=1):
partition.delete(key) #we delete keys whose prefix does not match the value assigned to -k in KVStore
bucket.kvs[kv_store].release_partition(key)
if single_node_flag is False:
- self._verify_all_buckets(server, kv_store, self.wait_timeout*50, self.max_verify)
+ self._verify_all_buckets(server, kv_store, self.wait_timeout*50, self.max_verify, True, 1)
else:
self.verify_single_node(server, kv_store)
@@ -122,4 +122,4 @@ def verify_single_node(self, server, kv_store=1):
partition.delete(key)
bucket.kvs[kv_store].release_partition(key)
- self._verify_all_buckets(server, kv_store, self.wait_timeout*50, self.max_verify)
+ self._verify_all_buckets(server, kv_store, self.wait_timeout*50, self.max_verify, True, 1)
View
4 pytests/transfer/recoveryusetransfer.py
@@ -75,7 +75,7 @@ def recover_to_cbserver(self):
time.sleep(30)
self._wait_for_stats_all_buckets([self.server_recovery])
- self._verify_all_buckets(self.server_recovery, 1, self.wait_timeout*50, self.max_verify)
+ self._verify_all_buckets(self.server_recovery, 1, self.wait_timeout*50, self.max_verify, True, 1)
self._verify_stats_all_buckets([self.server_recovery])
def recover_to_backupdir(self):
@@ -118,7 +118,7 @@ def recover_to_backupdir(self):
time.sleep(30)
self._wait_for_stats_all_buckets([self.server_origin])
- self._verify_all_buckets(self.server_origin, 1, self.wait_timeout*50, self.max_verify)
+ self._verify_all_buckets(self.server_origin, 1, self.wait_timeout*50, self.max_verify, True, 1)
self._verify_stats_all_buckets([self.server_origin])
def load_data(self):
Please sign in to comment.
Something went wrong with that request. Please try again.