зеркало из https://github.com/github/vitess-gh.git
Add TODOs to re-enable currently disabled reparent tests after Orchestrator integration
This commit is contained in:
Родитель
ef8a1025a1
Коммит
40e9af53e3
|
@ -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!')
|
||||
|
|
Загрузка…
Ссылка в новой задаче