def pillowfight_workload(workload_settings: PhaseSettings, target: TargetSettings, *args): run_cbc_pillowfight(host=target.node, bucket=target.bucket, password=target.password, num_items=workload_settings.items, num_threads=workload_settings.workers, num_cycles=workload_settings.iterations, size=workload_settings.size, writes=workload_settings.updates, use_ssl=workload_settings.use_ssl)
def access(self, *args): settings = self.test_config.access_settings for target in self.target_iterator: host, _ = target.node.split(':') run_cbc_pillowfight(host=host, bucket=target.bucket, password=self.test_config.bucket.password, num_items=settings.items, num_threads=settings.workers, num_cycles=settings.iterations, size=settings.size, updates=settings.updates)
def pillowfight_workload(workload_settings: PhaseSettings, target: TargetSettings, *args): run_cbc_pillowfight(host=target.node, bucket=target.bucket, password=target.password, num_items=workload_settings.items, num_threads=workload_settings.workers, num_cycles=workload_settings.iterations, size=workload_settings.size, batch_size=workload_settings.batch_size, writes=workload_settings.updates, persist_to=workload_settings.persist_to, replicate_to=workload_settings.replicate_to, doc_gen=workload_settings.doc_gen, ssl_mode=workload_settings.ssl_mode)
def pillowfight_data_load(workload_settings: PhaseSettings, target: TargetSettings, *args): run_cbc_pillowfight(host=target.node, bucket=target.bucket, password=target.password, num_items=workload_settings.items, num_threads=workload_settings.workers, num_cycles=workload_settings.iterations, size=workload_settings.size, batch_size=workload_settings.batch_size, writes=workload_settings.creates, persist_to=workload_settings.persist_to, replicate_to=workload_settings.replicate_to, connstr_params=workload_settings.connstr_params, durability=workload_settings.durability, doc_gen=workload_settings.doc_gen, ssl_mode=workload_settings.ssl_mode, populate=True)