Permalink
Browse files

CBQE-547 Verify 1K items for cbtransfer tests to save time

Change-Id: I2af43d1bbe1aa5c6fcc53b33513a0e3aa81d070e
Reviewed-on: http://review.couchbase.org/22606
Reviewed-by: Chisheng Hong <chisheng@couchbase.com>
Tested-by: Chisheng Hong <chisheng@couchbase.com>
  • Loading branch information...
1 parent 8ae697f commit 2be893568d6659814eb99a03b51f56393cb3537b Chisheng Hong committed Nov 17, 2012
Showing with 6 additions and 6 deletions.
  1. +4 −4 conf/py-data-recovery.conf
  2. +2 −2 pytests/transfer/recoveryusetransfer.py
@@ -1,6 +1,6 @@
-transfer.recoveryusetransfer.RecoveryUseTransferTests.recover_to_cbserver,doc_ops=update;delete,items=100000,replicas=0,item_flag=4294967295
+transfer.recoveryusetransfer.RecoveryUseTransferTests.recover_to_cbserver,doc_ops=update;delete,items=100000,replicas=0,item_flag=4294967295,max_verify=1000
transfer.recoveryusetransfer.RecoveryUseTransferTests.recover_to_cbserver,doc_ops=expire,items=10,value_size=4000000,replicas=0
-transfer.recoveryusetransfer.RecoveryUseTransferTests.recover_to_cbserver,standard_buckets=2,sasl_buckets=2,items=80000,replicas=0,item_flag=4042322160
-transfer.recoveryusetransfer.RecoveryUseTransferTests.recover_to_backupdir,doc_ops=update;delete,items=100000,replicas=0,item_flag=4294967295
+transfer.recoveryusetransfer.RecoveryUseTransferTests.recover_to_cbserver,standard_buckets=2,sasl_buckets=2,items=80000,replicas=0,item_flag=4042322160,max_verify=1000
+transfer.recoveryusetransfer.RecoveryUseTransferTests.recover_to_backupdir,doc_ops=update;delete,items=100000,replicas=0,item_flag=4294967295,max_verify=1000
transfer.recoveryusetransfer.RecoveryUseTransferTests.recover_to_backupdir,doc_ops=expire,items=10,value_size=4000000,replicas=0
-transfer.recoveryusetransfer.RecoveryUseTransferTests.recover_to_backupdir,standard_buckets=2,sasl_buckets=2,items=80000,replicas=0,item_flag=4042322160
+transfer.recoveryusetransfer.RecoveryUseTransferTests.recover_to_backupdir,standard_buckets=2,sasl_buckets=2,items=80000,replicas=0,item_flag=4042322160,max_verify=1000
@@ -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, None, True)
+ self._verify_all_buckets(self.server_recovery, 1, self.wait_timeout*50, self.max_verify)
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, None, True)
+ self._verify_all_buckets(self.server_origin, 1, self.wait_timeout*50, self.max_verify)
self._verify_stats_all_buckets([self.server_origin])
def load_data(self):

0 comments on commit 2be8935

Please sign in to comment.