def download_ycsb(self): if self.worker_manager.is_remote: self.remote.init_ycsb(repo=self.test_config.ycsb_settings.repo, branch=self.test_config.ycsb_settings.branch, worker_home=self.worker_manager.WORKER_HOME) else: local.clone_git_repo(repo=self.test_config.ycsb_settings.repo, branch=self.test_config.ycsb_settings.branch)
def download_ycsb(self): if self.worker_manager.is_remote: self.remote.init_ycsb(repo=self.test_config.ycsb_settings.repo, branch=self.test_config.ycsb_settings.branch, worker_home=self.worker_manager.WORKER_HOME) else: local.clone_git_repo(repo=self.test_config.ycsb_settings.repo, branch=self.test_config.ycsb_settings.branch)
def run(self): self.restore_local() self.wait_for_persistence() self.restart() self.sync() self.create_indexes() local.clone_git_repo(repo=self.test_config.ch2_settings.repo, branch=self.test_config.ch2_settings.branch) self.run_ch2() if self.test_config.ch2_settings.workload != 'ch2_analytics': self.report_kpi()
def init_java_dcp_clients(self): if self.worker_manager.is_remote: self.remote.init_java_dcp_client( repo=self.test_config.java_dcp_settings.repo, branch=self.test_config.java_dcp_settings.branch, worker_home=self.worker_manager.WORKER_HOME, commit=self.test_config.java_dcp_settings.commit) else: local.clone_git_repo( repo=self.test_config.java_dcp_settings.repo, branch=self.test_config.java_dcp_settings.branch, commit=self.test_config.java_dcp_settings.commit) local.build_java_dcp_client()
def init_java_dcp_client(self): local.clone_git_repo(repo=self.test_config.java_dcp_settings.repo, branch=self.test_config.java_dcp_settings.branch) local.build_java_dcp_client()