Permalink
Browse files

MB-100 change the default expire time for backup, recovery tests

Change-Id: I69b276b7c5a595cf99f949d604ba714f53a811a4
Reviewed-on: http://review.couchbase.org/20326
Reviewed-by: Chisheng Hong <chisheng@couchbase.com>
Tested-by: Chisheng Hong <chisheng@couchbase.com>
  • Loading branch information...
Chisheng Hong
Chisheng Hong committed Aug 30, 2012
1 parent 92b18d8 commit 72fad78f6c324cc4be0126e7ae610ba3bf813ad9
@@ -13,7 +13,7 @@ def setUp(self):
super(BackupBaseTest, self).setUp()
self.shell = RemoteMachineShellConnection(self.master)
self.value_size = self.input.param("value_size", 256)
- self.expire_time = self.input.param("expire_time", 10)
+ self.expire_time = self.input.param("expire_time", 30)
self.item_flag = self.input.param("item_flag", 0)
self.couchbase_login_info = "%s:%s" % (self.input.membase_settings.rest_username,
self.input.membase_settings.rest_password)
@@ -86,6 +86,7 @@ def CreateUpdateDeleteExpireBeforeBackup(self):
self._load_all_buckets(self.master, gen_extra, "create", 0, 1, self.item_flag, True)
self._load_all_buckets(self.master, gen_extra, "update", self.expire_time, 1, self.item_flag, True)
self._wait_for_stats_all_buckets(self.servers[:self.num_servers])
+ time.sleep(5)
self.shell.execute_cluster_backup(self.couchbase_login_info, self.backup_location, self.command_options)
@@ -120,3 +120,4 @@ def load_data(self):
if("expire" in self.doc_ops):
self._load_all_buckets(self.server_origin, gen_expire, "update", self.expire_time, 1, self.item_flag, True)
self._wait_for_stats_all_buckets([self.server_origin])
+ time.sleep(5)
@@ -7,7 +7,7 @@ def setUp(self):
self.couchbase_login_info = "%s:%s"%(self.input.membase_settings.rest_username,
self.input.membase_settings.rest_password)
self.value_size = self.input.param("value_size", 256)
- self.expire_time = self.input.param("expire_time", 5)
+ self.expire_time = self.input.param("expire_time", 30)
self.item_flag = self.input.param("item_flag", 0)
self.backup_location = self.input.param("backup_location", "/tmp/backup")
self.doc_ops = self.input.param("doc_ops", None)

0 comments on commit 72fad78

Please sign in to comment.