def test_change_tracking(self): newfault = Steps() newfault.changetracking(type='mirror') while (newfault.is_dbdown() == False): tinctest.logger.info("waiting for DB to go into change tracking") sleep(10) return
def test_change_tracking(self): newfault = Steps() newfault.changetracking( type = 'mirror') while (newfault.is_dbdown() == False): tinctest.logger.info("waiting for DB to go into change tracking") sleep(10) return
def test_checkLog_recover(self): '''Checks if change_tracking disabled message is printed to the log, if returns true, remove the fill files , run recoverseg ''' tinctest.logger.info('coming here in chacklog') cl = Steps() if (cl.checkLogMessage()): tinctest.logger.info('coming in if') hosts = cl.get_segments() for host in hosts: cl.remove_fillfiles('new_space', host[0]) cl.recover_segments() while (cl.is_dbdown() == True): tinctest.logger.info('Waiting for DB to be in sync')
def test_checkLog_recover(self): '''Checks if change_tracking disabled message is printed to the log, if returns true, remove the fill files , run recoverseg ''' tinctest.logger.info('coming here in chacklog') cl = Steps() if(cl.checkLogMessage()): tinctest.logger.info('coming in if') hosts = cl.get_segments() for host in hosts: cl.remove_fillfiles('new_space', host[0]) cl.recover_segments() while(cl.is_dbdown() == True): tinctest.logger.info('Waiting for DB to be in sync')