This commit is contained in:
Michael Berlin 2015-07-24 10:45:28 -07:00
Родитель 65f9935095
Коммит 450c909cd6
1 изменённых файлов: 3 добавлений и 3 удалений

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

@ -508,9 +508,9 @@ class TestReparent(unittest.TestCase):
logging.debug('New master position: %s', str(new_pos)) logging.debug('New master position: %s', str(new_pos))
# Use "localhost" as hostname because Travis CI worker hostnames are too long for MySQL replication. # Use "localhost" as hostname because Travis CI worker hostnames are too long for MySQL replication.
changeMasterCmds = mysql_flavor().change_master_commands( changeMasterCmds = mysql_flavor().change_master_commands(
"localhost", 'localhost',
tablet_62044.mysql_port, tablet_62044.mysql_port,
new_pos) new_pos)
# 62344 will now be a slave of 62044 # 62344 will now be a slave of 62044
tablet_62344.mquery('', ['RESET MASTER', 'RESET SLAVE'] + tablet_62344.mquery('', ['RESET MASTER', 'RESET SLAVE'] +