Пример #1
0
    def test_kill_mirror(self):
        """
        [feature]: Kills mirror gp0 segment 
        
        """

        newfault = Fault()
        hosts = newfault.get_segment_host(preferred_role='m',content=0)
        if not newfault.kill_mirror_gp0(hosts):
            self.fail("Could not the kill the mirror process, cannot proceed further!")
        rtrycnt = 0
        while( not newfault.is_changetracking()):
            tinctest.logger.info("Waiting [%s] for DB to go in CT mode" %rtrycnt)
            rtrycnt = rtrycnt + 1