示例#1
0
 def test(self):
     for para in rule_parameter.ParaDict(
             expname='test_alignment_100',
             trace_expnames=['test_alignment_100_traces'],
             rule='alignment',
     ):
         experiment.execute_simulation(para)
示例#2
0
    def test(self):
        old_dir = "/tmp/results/sqlitewal-update"
        if os.path.exists(old_dir):
            shutil.rmtree(old_dir)

        # copy the data to
        shcmd("cp -r ./tests/testdata/sqlitewal-update /tmp/results/")

        for para in rule_parameter.ParaDict("testexpname", ['sqlitewal-update'], "grouping"):
            experiment.execute_simulation(para)
示例#3
0
    def test(self):
        for para in rule_parameter.ParaDict(
                expname="test_rand_write_rand_read",
                trace_expnames=["test_rand_write_rand_read_trace"],
                rule="locality"):
            experiment.execute_simulation(para)

        for para in rule_parameter.ParaDict(
                expname="test_rand_write_rand_read",
                trace_expnames=["test_rand_write_rand_read_trace"],
                rule="localitysmall"):
            experiment.execute_simulation(para)
示例#4
0
 def test(self):
     for para in rule_parameter.ParaDict(expname="linux-dd-locality",
                                         trace_expnames=['linux-dd-exp'],
                                         rule="locality"):
         experiment.execute_simulation(para)
示例#5
0
 def test(self):
     for para in rule_parameter.ParaDict(
             expname="exp_simulation_death_negative",
             trace_expnames=['exp_death_negative'],
             rule="grouping"):
         experiment.execute_simulation(para)
示例#6
0
 def test(self):
     for para in rule_parameter.ParaDict(
             expname="exp_simulation_locality_negative",
             trace_expnames=['exp_locality_negative'],
             rule="locality"):
         experiment.execute_simulation(para)
示例#7
0
 def test(self):
     for para in rule_parameter.ParaDict(
             expname="test_grouping_workload",
             trace_expnames=["test_grouping_workload_trace"],
             rule="grouping"):
         experiment.execute_simulation(para)