Add TODOs to re-enable currently disabled reparent tests after Orchestrator integration

This commit is contained in:
Joshua Thompson 2016-03-30 13:31:34 -07:00
Родитель ef8a1025a1
Коммит 40e9af53e3
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -228,6 +228,7 @@ class ReparentTest(base_end2end_test.BaseEnd2EndTest):
logging.info('restartalloc on %s/%s resulted in new master: %s, task: %d',
keyspace, shard_name, new_master_name, new_master_task_num)
# TODO: re-enable this test after Orchestrator integration
def _test_implicit_reparent(self):
logging.info('Performing %s implicit reparents', self.num_reparents)
for attempt in xrange(1, self.num_reparents + 1):
@ -254,6 +255,7 @@ class ReparentTest(base_end2end_test.BaseEnd2EndTest):
self.assertLessEqual(median_duration, self.master_downtime_threshold,
'master downtime too high (performance regression)')
# TODO: re-enable this test after Orchestrator integration
def _test_explicit_external_reparent(self):
logging.info('Performing %s explicit external reparents',
self.num_reparents)
@ -284,6 +286,7 @@ class ReparentTest(base_end2end_test.BaseEnd2EndTest):
for keyspace, num_shards in zip(self.env.keyspaces, self.env.num_shards):
self.explicit_reparent(keyspace, num_shards, cross_cell=True)
# TODO: re-enable this test after Orchestrator integration
def _test_explicit_external_reparent_cross_cell(self):
if len(self.env.cells) < 2:
logging.info('Not enough cells to test cross_cell reparents!')