예제 #1
0
 def run(self):
     testSysbench = TestSysbench()
     sysbenchAccountResource=FileTool.readJsonFromFile(self._accountResourceFilePath)
     sysbench_pair_array=sysbenchAccountResource['_sysbenchComputePairs']
     for sysbench_pair in sysbench_pair_array:
         compute_client=Compute()
         trove_server=Compute()
         compute_client.__dict__ = sysbench_pair[0]
         trove_server.__dict__ = sysbench_pair[1]
         testSysbench.reStart(compute_client,trove_server)
예제 #2
0
 def run(self):
     testSysbench = TestSysbench()
     sysbenchAccountResource = FileTool.readJsonFromFile(
         self._accountResourceFilePath)
     compute_pair_array = sysbenchAccountResource['_sysbenchComputePairs']
     for compute_pair in compute_pair_array:
         compute_client = Compute()
         compute_server = Compute()
         compute_client.__dict__ = compute_pair[0]
         compute_server.__dict__ = compute_pair[1]
         testSysbench.stop(compute_client)
예제 #3
0
 def run(self):
     testIperf = TestIperf()
     iperfAccountResource = FileTool.readJsonFromFile(
         self._accountResourceFilePath)
     compute_pair_array = iperfAccountResource['_iperfComputePairs']
     for compute_pair in compute_pair_array:
         compute_client = Compute()
         compute_server = Compute()
         compute_client.__dict__ = compute_pair[0]
         compute_server.__dict__ = compute_pair[1]
         testIperf.reStart(compute_client, compute_server)
예제 #4
0
 def run(self):
     testobjectstorage = TestObjectstore()
     objectstoreAccountResource = FileTool.readJsonFromFile(self._accountResourceFilePath)
     compute_array = objectstoreAccountResource['_objectstorage']
     for compute in compute_array:
         tmp_compute = Compute()
         tmp_compute.__dict__=compute
         testobjectstorage.reStart(tmp_compute)
예제 #5
0
 def run(self):
     testMemtester = TestMemtester()
     memtesterAccountResource = FileTool.readJsonFromFile(
         self._accountResourceFilePath)
     compute_array = memtesterAccountResource['_memtesterComputes']
     for compute in compute_array:
         tmp_compute = Compute()
         tmp_compute.__dict__ = compute
         testMemtester.reStart(tmp_compute)
예제 #6
0
 def run(self):
     testUnixbench = TestUnixbench()
     unixbenchAccountResource = FileTool.readJsonFromFile(
         self._accountResourceFilePath)
     compute_array = unixbenchAccountResource['_unixbenchComputes']
     for compute in compute_array:
         tmp_compute = Compute()
         tmp_compute.__dict__ = compute
         testUnixbench.stop(tmp_compute)
예제 #7
0
 def run(self):
     testfio = TestFio()
     fioAccountResource = FileTool.readJsonFromFile(
         self._accountResourceFilePath)
     compute_array = fioAccountResource['_fioComputes']
     for compute in compute_array:
         tmp_compute = Compute()
         tmp_compute.__dict__ = compute
         testfio.stop(tmp_compute)