Ejemplo n.º 1
0
 def setUp(self):
     CostModelTestCase.setUp(self)
     self.cm = DiskCostComponent(self.state)
     self.cm.no_index_size_estimation = False
     self.ops = []
     for sess in self.workload:
         map(self.ops.append, sess["operations"])
 def setUp(self):
     CostModelTestCase.setUp(self)
     self.cm = DiskCostComponent(self.state)
     self.cm.no_index_insertion_penalty = True
Ejemplo n.º 3
0
 def setUp(self):
     CostModelTestCase.setUp(self)
     self.cm = DiskCostComponent(self.state)
     self.cmn = NetworkCostComponent(self.state)
     self.col_names = [x for x in self.collections.iterkeys()]