def observe_xdcr(self): gen_load = BlobGenerator('observe', 'observe', 1024, end=self.num_items) self._load_all_buckets(self.src_master, gen_load, "create", 0) self.merge_buckets(self.src_master, self.dest_master, bidirection=self.bidirection) self.verify_results() self.master = self.src_master ObserveTests._run_observe(self) self.master = self.dest_master ObserveTests._run_observe(self)
def observe_xdcr(self): self.set_xdcr_topology() self.setup_all_replications() gen_load = BlobGenerator('observe', 'observe', 1024, end=self.num_items) self.src_cluster.load_all_buckets_from_generator(gen_load) self.verify_results() self.master = self.src_master self.buckets = self.src_cluster.get_buckets() ObserveTests._run_observe(self) self.master = self.dest_master self.buckets = self.dest_cluster.get_buckets() ObserveTests._run_observe(self)